function

First seen , last seen .

ifelse

See also: ifelse (function-call)

Returns the value after the first true class expression among its arguments, or the last argument as the default. ifelse is called 78 times from 35 bundles and bodies in 21 policy files, on 100 hosts in your infrastructure.

Signature
ifelse(string, [string], ...)
Parameters
  1. string Class expression (.*)
  2. string Value if the preceding class expression is true (.*)
Variadic: at least 1 arguments.
Returns
string
Category
data