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

Prev:tail? ( seq end -- ? )
Next:subseq-of? ( seq subseq -- ? )


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