first? ( ... seq quot: ( ... elt -- ... ? ) -- ... ? )


Vocabulary
sequences.extras

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


Outputs
?a boolean


Word description
Tests whether the first element of seq satisfies the provided predicate.

Definition


: first? ( ... seq quot: ( ... elt -- ... ? ) -- ... ? )
[ first ] dip call ; inline