Represents the result of an XPath expression. This interface is used for the parameters passed into custom functions used in [function resolvers](function resolvers.md) and can represent a number, a string, a boolean value, or a node set.
booleanValue() -> booleanReturns the boolean value of the result in accordance with the XPath 1.0 spec.
numberValue() -> numberReturns the numeric value of the result in accordance with the XPath 1.0 spec.
stringValue() -> stringReturns the string value of the result in accordance with the XPath 1.0 spec.
toArray() -> Array of nodesReturns an array of the nodes in the node set, in document order.
first() -> NodeReturns the first node in the node set, in document order.
size -> numberReturns the number of nodes in this node set