java.lang.Object
dev.metaschema.core.metapath.function.library.ArrayHead
Implements the XPath 3.1 array:head
function.
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends ICollectionValue>
Thead(IArrayItem<T> array) An implementation of XPath 3.1 array:head.
-
Method Details
-
head
An implementation of XPath 3.1 array:head.- Type Parameters:
T- the type of items in the given Metapath array- Parameters:
array- the array to get the head item from- Returns:
- the head item
-