
fn:head( $seq as item()* ) as item()?
Returns the first item in a sequence. For more details, see XPath 3.0 Functions and Operators.
| Parameters | |
|---|---|
| $seq | A sequence of items. |
fn:head((1,2,3)) => 1
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.