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