Loading TOC...

cts:reference-nullable

cts:reference-nullable(
   $reference as cts:reference
) as xs:boolean

Summary

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

Parameters
$reference An index reference.

Example

cts:reference-nullable(cts:element-reference("title","nullable"))
=>
true()

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