Loading TOC...

sc.type

sc.type(
   [$arg as String]
) as schemaType()?

Summary

Returns the type of item, as a schema component, if any. If the item has no type, the empty sequence is returned. The context item is used if no argument is given.

Parameters
$arg The item whose type is to be returned.

Example

xdmp.describe(sc.type(47));
  => "#xs:integer"

Comments

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