Loading TOC...

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)

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

Comments