second ( seq -- second )
Factor handbook > The language > Collections > Sequence operations > Accessing sequence elements

Prev:first ( seq -- first )
Next:third ( seq -- third )


Vocabulary
sequences

Inputs and outputs
seqa sequence
secondthe second element of the sequence


Word description
Outputs the second element of the sequence.

Errors
Throws an error if the sequence contains less than two elements.

Definition