hasProvider

inline fun <T : Any> DI.hasProvider(tag: Any? = null): Boolean

Define whether a provider binding exists in the given DI container

Return

true if the binding is found

Parameters

tag

the bound tag, if any