Loading TOC...

MarkLogic 9 Product Documentation
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"

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.