Loading TOC...

xdmp.functionParameterType

xdmp.functionParameterType(
   $function as function(*),
   $position as Number
) as String

Summary

Returns the type of the parameter at the designated (1-based) position from the given function's signature.

Parameters
$function The function value.
$position The 1-based position of the parameter.

Example

var fn = xdmp.function(fn.QName("http://www.w3.org/2005/xpath-functions",
                                "empty"));
xdmp.functionParameterType(fn,1);
=> "item()*"

Comments

    Powered by MarkLogic Server 7.0-4.1 and rundmc | Terms of Use | Privacy Policy