Loading TOC...

xdmp.functionReturnType

xdmp.functionReturnType(
   $function as function(*)
) as String

Summary

Returns the return type from the given function's signature.

Parameters
$function The function value.

Example

var fn = xdmp.function(fn.QName("http://www.w3.org/2005/xpath-functions",
                                "empty"));
xdmp.functionReturnType(fn);
=> "xs:boolean"

Comments

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