A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.cfengine.com/latest/reference-functions-and.html below:

and - CFEngine 3.26 Docs

Prototype: and(...)

Return type: boolean

Description: Returns any if all arguments evaluate to true and !any if any argument evaluates to false.

Arguments: A list of classes, class expressions, or functions that return classes.

Example:

code

commands:
  "/usr/bin/generate_config $(config)"
    if => and( "generating_configs",
               not(fileexists("/etc/config/$(config)"))
             );

Notes: Introduced primarily for use with if and unless promise attributes.

See also: or(), not()

History:


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4