MarkLogic 9 Product Documentation
fn:not

fn:not(
   $arg as item()*
) as xs: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(fn:true())

=> false

Example

fn:not("false")

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