Handbook
Glossary
to-one-chat? ( 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-one-chat
class.
Definition
USING:
classes.tuple.private
irc.messages
kernel
math.private
slots.private
;
IN:
irc.client.base
:
to-one-chat?
( object -- ? )
dup
dup
tuple?
[
layout-of
dup
1
slot
9
fixnum>=
[
9
slot
\
mode
eq?
]
[
drop
f
]
if
]
[
drop
f
]
if
[
drop
t
]
[
dup
to-channel?
[
drop
t
]
[
to-target?
]
if
]
if
;