booster / com.didiglobal.booster.kotlinx / kotlin.collections.Collection

Extensions for kotlin.collections.Collection

ifNotEmpty

fun <T> Collection<T>.ifNotEmpty(action: (Collection<T>) -> Unit): Collection<T>