kmongo / kotlin.collections / com.mongodb.client.MongoIterable / takeWhile

takeWhile

inline fun <T> MongoIterable<T>.takeWhile(crossinline predicate: (T) -> Boolean): List<T> (source)

Returns a list containing first elements satisfying the given predicate.

//Unresolved: samples.collections.Collections.Transformations.take