none? ( ... seq quot: ( ... elt -- ... ? ) -- ... ? )
Factor handbook » The language » Collections » Sequence operations » Sequence combinators

Prev:all? ( ... seq quot: ( ... elt -- ... ? ) -- ... ? )
Next:Pair-wise sequence combinators


Vocabulary
sequences

Inputs
seqa sequence
quota quotation with stack effect ( ... elt -- ... ? )


Outputs
?a boolean


Word description
Tests if the sequence does not contain any element satisfying the predicate, by applying the predicate to each element in turn until a true value is found. If the sequence is empty or if the end of the sequence is reached, outputs t.

See also
any?, all?

Definition


: none? ( ... seq quot: ( ... elt -- ... ? ) -- ... ? )
any? not ; inline