fn.not

fn.not(
   arg as Sequence
) as Boolean

Summary

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.

Example

fn.not(true)

=> false

Example

fn.not("false")

=> false
Powered by MarkLogic Server | Terms of Use | Privacy Policy