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