fn.tail

fn.tail(
   seq as Sequence
) as Sequence

Summary

Returns all but the first item in a sequence. For more details, see XPath 3.0 Functions and Operators.

Parameters
seq The function value.

Example

fn.tail(xdmp.arrayValues([1,2,3]))
=> (2, 3)
Powered by MarkLogic Server | Terms of Use | Privacy Policy