# toSequence -- convert to sequence

## Description

toSequence x -- yields the elements of a list or string x as a sequence.

If x is a sequence, then x is returned.

 i1 : toSequence {1,2,3} o1 = (1, 2, 3) o1 : Sequence i2 : toSequence "foo" o2 = (f, o, o) o2 : Sequence

## Ways to use toSequence :

• "toSequence(BasicList)"
• "toSequence(String)"

## For the programmer

The object toSequence is .