Handbook
Glossary
empty? ( seq -- ? )
Factor handbook
»
The language
»
Collections
»
Sequence operations
»
Testing sequences
Next:
bounds-check? ( n seq -- ? )
Vocabulary
sequences
Inputs
seq
a
sequence
Outputs
?
a
boolean
Word description
Tests if the sequence has zero length.
Definition
USING:
kernel
;
IN:
sequences
:
empty?
( seq -- ? )
length
0
=
;
inline