fn:exists( $arg as item()* ) as xs:boolean
If the value of $arg is not the empty sequence, the function returns true; otherwise, the function returns false.
fn:exists(fn:remove(("hello"), 1)) => false
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.