tuple>array ( tuple -- array )
Factor handbook > The language > Objects > Tuples > Tuple introspection

Prev:>tuple ( seq -- tuple )
Next:tuple-slots ( tuple -- seq )


Vocabulary
classes.tuple

Inputs and outputs
tuplea tuple
arrayan array


Word description
Outputs an array having the tuple's slots as elements. The first element is the tuple class word and remainder are declared slots.

See also
tuple-slots

Definition