Handbook
Glossary
generic? ( object -- ? )
Vocabulary
multi-methods
Inputs and outputs
object
an
object
?
a
boolean
Word description
Tests if the object is an instance of the
generic
class.
Definition
USING:
kernel
words
;
IN:
multi-methods
:
generic?
( object -- ? )
dup
word?
[
"multi-methods"
word-prop
>boolean
]
[
drop
f
]
if
;