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

Prev:any? ( ... 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 all elements in the sequence satisfy the predicate by checking each element in turn. Given an empty sequence, vacuously outputs t.

Definition