kmongo / kotlin.collections / indexOfFirst

indexOfFirst

inline fun <T> MongoIterable<T>.indexOfFirst(crossinline predicate: (T) -> Boolean): Int