xdmp:function-signature( $function as function(*) ) as xs:string?
Returns the signature of the function that the argument refers to.
Parameters | |
---|---|
function | The function value. |
let $fn := fn:empty#1 return xdmp:function-signature($fn) => "function(item()*) as xs:boolean"