fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

take

container.abstract_array.take

take(I:integer,n I) => Sequence T[Redefinition of  Sequence.take][src]
create a Sequence that consists only of the first n elements of this
Sequence, fewer if this Sequence has fewer elements

For arrays, this has performance in O(1).

redefines:

Type Parameters

I:integer[src]

Arguments

n I[src]
0.099dev (GIT hash e2d5298d8107bb5fe79600fdb06a49bc75756344)
last changed: 2026-11-23