not
Table of contents
Prototype: not(expression)
Return type: boolean
Description: Returns any
if all arguments evaluate to false and !any
if
any argument evaluates to true.
Arguments:
expression
:string
- Class value - in the range:.*
Argument Descriptions:
expression
- Class, class expression, or function that returns a class
Example:
code
commands:
"/usr/bin/generate_config $(config)"
if => not( fileexists("/etc/config/$(config)") );
Notes: Introduced primarily for use with if
and unless
promise attributes.
History: