kmongo / kotlin.collections / zip

zip

infix fun <T, R> MongoIterable<T>.zip(other: Array<out R>): List<Pair<T, R>>
inline fun <T, R, V> MongoIterable<T>.zip(other: Array<out R>, crossinline transform: (a: T, b: R) -> V): List<V>
infix fun <T, R> MongoIterable<T>.zip(other: Iterable<R>): List<Pair<T, R>>
inline fun <T, R, V> MongoIterable<T>.zip(other: Iterable<R>, crossinline transform: (a: T, b: R) -> V): List<V>