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