
fn.not( arg as Sequence ) as Boolean
Returns true if the
effective boolean value is false, and false
if the effective boolean value is true.
The $arg parameter is first reduced to an effective
boolean value by applying the fn:boolean function.
| Parameters | |
|---|---|
| arg | The expression to negate. |
fn.not(true) => false
fn.not("false")
=> false
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.