Loading TOC...

MarkLogic Server 11.0 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

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