Handbook
Glossary
to-target? ( object -- ? )
Vocabulary
irc
.
client
.
base
Inputs and outputs
object
an
object
?
a
boolean
Word description
Tests if the object is an instance of the
to-target
class.
Definition
USING:
classes.tuple.private
irc.messages
kernel
math.private
slots.private
;
IN:
irc.client.base
:
to-target?
( object -- ? )
dup
tuple?
[
layout-of
dup
1
slot
9
fixnum>=
[
9
slot
dup
\
notice
eq?
[
drop
t
]
[
\
privmsg
eq?
]
if
]
[
drop
f
]
if
]
[
drop
f
]
if
;