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