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