Factor Documentation
|
Home
|
Glossary
|
Search
factorcode.org
empty? ( seq -- ? )
Factor documentation
>
Factor handbook
>
The language
>
Collections
>
Sequence operations
>
Testing sequences
Next:
bounds-check? ( n seq -- ? )
Vocabulary
sequences
Inputs and outputs
seq
a
sequence
?
a boolean
Word description
Tests if the sequence has zero length.
Definition
USING:
kernel
;
IN:
sequences
:
empty?
( seq -- ? )
length
0
=
;
inline