Sequence.prototype.toArray() as Value[]
Return an array containing the values in the Sequence.
Sequence.from([1,2]).toArray(); // Returns: [1,2]
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.