layout | title | categories | published | alias | tags | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
default |
and |
|
true |
reference-functions-and.html |
|
Prototype: and(...)
Return type: string
Description: Returns whether all arguments evaluate to true.
Arguments: A list of classes and class expressions
Example:
commands:
"/usr/bin/generate_config $(config)"
ifvarclass => and(not(fileexists("/etc/config/$(config)")), "generating_configs");
Notes:
History: Was introduced in 3.2.0, Nova 2.1.0 (2011)