Skip to content

OR

Returns 1 if either of the conditions are evaluated to true.

js
OR(condition_a, condition_b, ...condition_n)

Parameters

  • condition_a - A condition which has to be evaluated.
  • condition_b - A condition which has to be evaluated.
  • condition_n - A condition which has to be evaluated. (optional)

Examples

js
OR(1 > 0, 5 < 3)

Result: 1