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