in-bound ( n sequence -- n' )
Windowed sequences

Prev:<windowed-sequence> ( sequence n -- windowed-sequence )
Next:in-bounds ( a b sequence -- a' b' sequence )


Vocabulary
sequences.windowed

Inputs
nan integer
sequencea sequence


Outputs
n'an integer


Word description
Clamps an integer from 0 to the sequence length.

Definition