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-or.html below:

or - CFEngine 3.26 Docs

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:

code

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.

See also: and(), 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