Loading TOC...

MarkLogic Server 11.0 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

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.