Skip to content

takeWhile

Litichevskiy Dmitriy edited this page Jan 27, 2019 · 1 revision

manipula.takeWhile(predicate)

Method returns elements from an iterable as long as a specified condition is true, and then skips the remaining elements.

Kind: instance method of Manipula

Param Type Description
predicate extendedLogicalPredicate A function to test each source element and its number for a condition.
Clone this wiki locally