MarkLogic 10 Product Documentation
cts.referenceNullable

cts.referenceNullable(
   reference as cts.reference
) as Boolean

Summary

Returns true() if the reference is nullable, false() otherwise.

Parameters
reference An index reference.

Example

cts.referenceNullable(cts.elementReference("TITLE",["nullable"]))
=>
true

Powered by MarkLogic Server | Terms of Use | Privacy Policy