
sc.functionReturnType( [arg as function(*)] ) as schemaType()
Returns the return type of a function item as a schema component. The context item is used if no argument is given.
| Parameters | |
|---|---|
| arg | The function item whose return type is to be returned. |
xdmp.describe(
sc.functionReturnType(
fn.functionLookup(xs.QName("fn:normalize-unicode"),1) )
);
=>
#xs:string
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.