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