MarkLogic 9 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]
Powered by MarkLogic Server | Terms of Use | Privacy Policy