Loading TOC...

MarkLogic Server 11.0 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.