nth? ( ... n seq quot: ( ... elt -- ... ? ) -- ... ? )


Vocabulary
sequences.extras

Inputs
nan integer
seqa sequence
quota quotation


Outputs
?a boolean


Word description
Check if the nth element of seq satisfies the condition given by quot.

Definition


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