Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 601 Bytes

and.markdown

File metadata and controls

28 lines (20 loc) · 601 Bytes
layout title categories published alias tags
default
and
Reference
Functions
and
true
reference-functions-and.html
reference
data functions
functions
and

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)