containsBean

Determine whether a bean of the given name is already registered.

Since

7.1

Parameters

name

the name of the bean


fun containsBean(beanType: KClass<*>): Boolean

Determine whether a bean of the given type is already registered.

Since

7.1

Parameters

beanType

the type of the bean


inline fun <T : Any> containsBean(): Boolean

Determine whether a bean of the given type is already registered.

Since

7.1

Type Parameters

T

the type of the bean