contains

operator fun contains(type: Class<*>): Boolean

Return

true if there is a provider registered for the selected type.

Parameters

type

class of the provided components.


operator fun contains(type: KClass<*>): Boolean

Return

true if there is a provider registered for the selected type.

Parameters

type

Kotlin class of the provided components.


inline fun <Type : Any> contains(): Boolean

Return

true if there is a provider registered for the selected type.