Factor Documentation
|
Home
|
Glossary
|
Search
factorcode.org
cycles? ( object -- ? )
Vocabulary
sequences.repeating
Inputs and outputs
object
an
object
?
a boolean
Word description
Tests if the object is an instance of the
cycles
class.
Definition
USING:
classes.tuple.private
kernel
slots.private
;
IN:
sequences.repeating
:
cycles?
( object -- ? )
dup
tuple?
[
layout-of
7
slot
\
cycles
eq?
]
[
drop
f
]
if
;