Loading TOC...
Matches for cat:function (cat:function/javascript (cat:function/javascript)) have been highlighted. remove

MarkLogic 12 Product Documentation
Sequence.prototype.toArray

Sequence.prototype.toArray() as Value[]

Summary

Return an array containing the values in the Sequence.

Example

Sequence.from([1,2]).toArray();

// Returns: [1,2]

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.