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