Handlebar Helper Function: Or

Performs a logical OR operation between multiple values. Returns true if at least one operand is truthy, false if all are falsy.

ParameterTypeDescription
value1anyThe first operand for the OR operation.
value2anyThe second operand for the OR operation.
value3, value4, ...anyAdditional operands to evaluate.

The function returns true if at least one parameter is truthy, and false if all are falsy. If no parameters are provided, it returns false. If one parameter is provided, it returns its truthiness value. This function returns boolean values only (true or false). For fallback value selection (returning the first truthy value), use conditional logic with {{iif}} helper instead.

Truthiness evaluation follows these rules: null is false; boolean values are returned as-is; 0 is false, any non-zero number is true; empty string "" is false, any non-empty string is true; empty arrays [] and empty objects {} are false, non-empty are true; other values are treated as false.