Table of Contents
or
Table of Contents
Prototype: or(...)
Return type: boolean
Description: Returns any
if any argument evaluates to true and !any
if
any argument evaluates to false.
Arguments: A list of classes, class expressions, or functions that return classes.
Example:
commands:
"/usr/bin/generate_config $(config)"
if => or( "force_configs",
not(fileexists("/etc/config/$(config)"))
);
Notes: Introduced primarily for use with if
and unless
promise attributes.
History: