Handbook
Glossary
malformed-ipv4? ( object -- ? )
Vocabulary
ip-parser
Inputs and outputs
object
an
object
?
a
boolean
Word description
Tests if the object is an instance of the
malformed-ipv4
class.
Definition
USING:
classes.tuple.private
kernel
slots.private
;
IN:
ip-parser
:
malformed-ipv4?
( object -- ? )
dup
tuple?
[
layout-of
7
slot
\
malformed-ipv4
eq?
]
[
drop
f
]
if
;