?last ( seq -- elt/f )
Factor handbook » The language » Collections » Sequence operations » Accessing sequence elements

Prev:last ( seq -- elt )
Next:first2 ( seq -- first second )


Vocabulary
sequences

Inputs
seqa sequence


Outputs
elt/fan object or f


Word description
A forgiving version of last. If the sequence is empty, or if the sequence is f, simply outputs f.

Definition