The function values functions allow you to pass a function value as a parameter to another function. You can also pass in the location of the implementation of a function, allowing the caller to specify a different version of a function to use in the context of making that function.
Function name | Description |
---|---|
xdmp.apply | Applies an xdmp:function with the given parameters. |
xdmp.function | Returns a function value as an xdmp.function type. |
xdmp.functionModule | Returns the module location (if any) that the xdmp:function value refers to. |
xdmp.functionName | Returns the QName of the function(s) that the xdmp:function refers to. |
xdmp.functionParameterName | Returns the name of the parameter at the designated (1-based) position from the given function's signature. |
xdmp.functionParameterType | Returns the type of the parameter at the designated (1-based) position from the given function's signature. |
xdmp.functionReturnType | Returns the return type from the given function's signature. |
xdmp.functionSignature | Returns the signature of the function that the argument refers to. |