Handbook
Glossary
subseq-of? ( seq subseq -- ? )
Factor handbook
»
The language
»
Collections
»
Sequence operations
»
Testing sequences
Prev:
subseq? ( subseq seq -- ? )
Vocabulary
sequences
Inputs
seq
a
sequence
subseq
a
sequence
Outputs
?
a
boolean
Word description
Tests if
seq
contains the elements of
subseq
as a contiguous subsequence.
Definition
USING:
kernel
;
IN:
sequences
:
subseq-of?
( seq subseq -- ? )
subseq-index
>boolean
;
inline