subseq? ( subseq seq -- ? )
Factor handbook > The language > Collections > Sequence operations > Testing sequences

Prev:tail? ( seq end -- ? )


Vocabulary
sequences

Inputs and outputs
subseqa sequence
seqa sequence
?a boolean


Word description
Tests if seq contains the elements of subseq as a contiguous subsequence.

Definition