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