fn:function-arity( $function as function(*) ) as xs:integer
Returns the arity of the function(s) that the argument refers to. For more details, see XPath 3.0 Functions and Operators.
Parameters | |
---|---|
function | The function value. |
let $fn := fn:empty#1 return fn:function-arity($fn) => 1
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.