Fuzion Logo
fuzion-lang.dev — The Fuzion Language Portal
»

nth

Sequence.nth

(n i32)
 => 
option Sequence.T
[Contains abstract features]
the nth element in the sequence if it exists, wrapped in an option,
nil otherwise.

Complexity: if Sequence is array backed O(1) otherwise O(n)
0.094dev (2025-06-18 15:08:51 GIT hash 89cffc23ae669b0898a5564fefbf793fcb8e5ca7 built by fridi@fzen)