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

Prev:tail? ( seq end -- ? )


Vocabulary
sequences

Inputs
subseqa sequence
seqa sequence


Outputs
?a boolean


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

Definition