koin-test-core / org.koin.test.parameter / MockParameter / getOrNull

getOrNull

fun <T : Any> getOrNull(clazz: KClass<T>): T?