Handbook
Glossary
interval? ( object -- ? )
Factor handbook
»
The language
»
Numbers
»
Intervals
Prev:
interval
Next:
Creating intervals
Vocabulary
math
.
intervals
Inputs and outputs
object
an
object
?
a
boolean
Word description
Tests if the object is an instance of the
interval
class.
Definition
USING:
classes.tuple.private
kernel
slots.private
;
IN:
math.intervals
:
interval?
( object -- ? )
dup
tuple?
[
layout-of
7
slot
\
interval
eq?
]
[
drop
f
]
if
;