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