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