mirror of
https://github.com/InsanusMokrassar/MicroUtils.git
synced 2024-11-18 14:23:50 +00:00
9 lines
249 B
Kotlin
9 lines
249 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.getAllDistinct() = getAll<T>().distinct()
|
||
|
inline fun <reified T : Any> Koin.getAllDistinct() = getAll<T>().distinct()
|
||
|
|