mirror of
https://github.com/InsanusMokrassar/MicroUtils.git
synced 2024-11-26 03:58:45 +00:00
9 lines
227 B
Kotlin
9 lines
227 B
Kotlin
package dev.inmo.micro_utils.koin
|
|
|
|
import org.koin.core.Koin
|
|
import org.koin.core.scope.Scope
|
|
|
|
inline fun <reified T : Any> Scope.getAny() = getAll<T>().first()
|
|
inline fun <reified T : Any> Koin.getAny() = getAll<T>().first()
|
|
|