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