Loading TOC...

sc.functionReturnType

sc.functionReturnType(
   [$arg as function(*)]
) as schemaType()

Summary

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.

Example

xdmp.describe(
   sc.functionReturnType(
     fn.functionLookup(xs.QName("fn:normalize-unicode"),1) )
);
  =>
#xs:string

Comments

    Powered by MarkLogic Server 7.0-4.1 and rundmc | Terms of Use | Privacy Policy