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

peek

Sequence.peek

calls `f` for each element in the Sequence.

Unlike `for_each` this returns itself
allowing easier composition with
other Sequence features.

example:

Postcondition
post
  debug: finite = result.finite
  debug: finite.is_no_or_unknown || count = result.count
0.095dev (GIT hash 91033acfd0b07a6e4c620ce81166841b8de33a6f)
last changed: 2026-04-29