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

take

🌌stream.take

take n items from stream, less if stream has fewer than n items

redefines Sequence.take:
create a list that consists only of the first n elements of this
Sequence, fewer if this stream has fewer elements