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