Or

Function

Or(conditions...)

conditions

Or(functions...)

functions

Or is included by default in each file as part of the Logic library.

 

See also:


Use

The Or() function checks if any of the given boolean values are true.

If all inputs to Or() are false, then it returns false. If any inputs are true, then it returns true.

Examples
  • Or(true, false)  = true
  • Or(false, false)  = false
  • Or(false, false, true)  = true
  • Or(1 < 0, 1 > 2)  = false
  • Or(2*2 == 4, 2*2 < 0)  = true