Handbook
Glossary
last? ( ... seq quot: ( ... elt -- ... ? ) -- ... ? )
Vocabulary
sequences
.
extras
Inputs
seq
a
sequence
quot
a
quotation
Outputs
?
a
boolean
Word description
Check if the last element of
seq
satisfies the condition given by
quot
.
Definition
USING:
kernel
sequences
;
IN:
sequences.extras
:
last?
( ... seq quot: ( ... elt -- ... ? ) -- ... ? )
[
last
]
dip
call
;
inline