Handbook
Glossary
ast-function? ( object -- ? )
Vocabulary
infix
.
ast
Inputs and outputs
object
an
object
?
a
boolean
Word description
Tests if the object is an instance of the
ast-function
class.
Definition
USING:
classes.tuple.private
kernel
slots.private
;
IN:
infix.ast
:
ast-function?
( object -- ? )
dup
tuple?
[
layout-of
7
slot
\
ast-function
eq?
]
[
drop
f
]
if
;