Skip to documentation
SplitScript
  • Language
  • Standard library
  • Guides
  • Migration

SplitScript reference / Language / End

End

syntax

End

Constructs an exhausted iterator step.

End obtains T from surrounding IteratorStep<T> context and marks that an Iterator has no more items. Match it together with Item.

Examples

Construct an exhausted iterator step

let step: IteratorStep<i32> = End
Generated from the SplitScript compiler's documentation catalogs.