xdmp:function-signature

xdmp:function-signature(
   $function as function(*)
) as xs:string?

Summary

Returns the signature of the function that the argument refers to.

Parameters
function The function value.

Example

let $fn := fn:empty#1
return
  xdmp:function-signature($fn)
=> "function(item()*) as xs:boolean"
Powered by MarkLogic Server | Terms of Use | Privacy Policy