Handbook
Glossary
pair? ( object -- ? )
Vocabulary
arrays
Inputs and outputs
object
an
object
?
a
boolean
Word description
Tests if the object is an instance of the
pair
class.
Definition
USING:
accessors
kernel
math
;
IN:
arrays
:
pair?
( object -- ? )
dup
array?
[
length>>
2
number=
]
[
drop
f
]
if
;