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