gh-pages / com.nextfaze.devfun.inject / InstanceProvider / get

get

abstract operator fun <T : Any> get(clazz: KClass<out T>): T? (source)

Try to get an instance of some clazz.

Return An instance of clazz, or null if this provider can not handle the type

See Also

ThrowingInstanceProvider.get