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

slice

Sequence.slice

(I 
type
:
integer, from I, to I)
 => 
Sequence T
create a slice from this Sequence that consists of the elements starting at index
from (including) up to index to (excluding).
Precondition
pre
  debug : from ≥ 0
  debug : to = 0 || (if is_array_backed || debug_level > 1 then is_valid_index to-1 else true)
  debug : from <= to

Type Parameters

0.095dev (GIT hash c7967cd19e1ef640f4fa3d483cf963853644b34e)
last changed: 2026-04-21