Checks whether two values are equal using non-strict equality (==).
Type coercion is applied, so 42 == "42" returns true.
The first value to compare
The second value to compare
True if the values are loosely equal, otherwise false
Checks whether two values are not equal using non-strict inequality
(!=). Type coercion is applied, so 42 != "42" returns false.
The first value to compare
The second value to compare
True if the values are not loosely equal, otherwise false
Returns the first value if it is not null or undefined, otherwise
returns the second value. Equivalent to the JavaScript nullish
coalescing operator (??). Unlike logical OR, this allows falsy
values like 0 and false to pass through.
The value to test for null/undefined
The fallback value if value1 is null or undefined
value1 if it is not null/undefined, otherwise value2
Checks whether two values are equal using strict equality (===).
No type coercion is applied, so 42 === "42" returns false.
The first value to compare
The second value to compare
True if the values are strictly equal, otherwise false
Checks whether two values are not equal using strict inequality
(!==). No type coercion is applied, so 42 !== "42" returns true.
The first value to compare
The second value to compare
True if the values are strictly not equal, otherwise false
Evaluates a condition and returns one of two provided values based
on the result. Equivalent to the JavaScript ternary operator
(condition ? valueIfTrue : valueIfFalse).
The condition to evaluate
The value to return if the condition is true
The value to return if the condition is false
The value corresponding to the condition result
Provides conditional logic functions for use within HotMesh mapping rules. Although inspired by JavaScript operators, these methods have been adapted to follow a functional approach. Each transformation is a function that expects one or more input parameters from the prior row in the
@pipestructure.Remarks
Invoked via
{@conditional.<method>}in YAML mapping rules.