Fuzion Logo
flang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

takeWhile

🌌list.takeWhile

Lazily take the first elements of a list for which predicate 'p' holds.

redefines Sequence.takeWhile:
Lazily take the first elements of a list for which predicate 'p' holds.