getProviderFor

fun getProviderFor(targetType: KClass<*>): <Error class: unknown class>?

Return

custom provider registered with provide, or null.