Expression Language
Also available as:
PDF

not

Description: The not function returns the negation of the Boolean value of the subject.

Subject Type: Boolean

Arguments: No arguments

Return Type: Boolean

Examples: We can invert the value of another function by using the not function, as ${filename:equals('hello.txt'):not()}. This will return true if the filename is NOT equal to "hello.txt" and will return false if the filename is "hello.txt."