Handbook
Glossary
cord? ( object -- ? )
Vocabulary
sequences
.
cords
Inputs and outputs
object
an
object
?
a
boolean
Word description
Tests if the object is an instance of the
cord
class.
Definition
USING:
classes.tuple.private
kernel
math.vectors.simd.cords
slots.private
;
IN:
sequences.cords
:
cord?
( object -- ? )
dup
tuple?
[
layout-of
7
slot
dup
\
double-4
eq?
[
drop
t
]
[
dup
\
float-8
eq?
[
drop
t
]
[
dup
\
ulonglong-4
eq?
[
drop
t
]
[
dup
\
longlong-4
eq?
[
drop
t
]
[
dup
\
uint-8
eq?
~quotation~ ~quotation~
if
]
if
]
if
]
if
]
if
]
[
drop
f
]
if
;