`takeWhile` , `dropWhile`, and more!
Added
Many equivalents to Kotlin standard library were added 🎉
- Reducers
iter.average()
(inspired by Kotlin'ssequences.average
)
- Transformers
iter.takeWhile()
(inspired by Kotlin'ssequences.takeWhile
)iter.drop()
(inspired by Kotlin'ssequences.drop
)iter.dropUntil()
(likeiter.until()
but drops til given predicate is true)iter.dropWhile()
(inspired by Kotlin'ssequences.takeWhile
)
Changed
- added tests for NaN checks in
iter.sum()
anditer.product()
. - Simplified
deno.json
again using the new [global-exclude][global-exclude]
feature.