MathLib.or()

MathLib.or() calculates the logical disjunction of the input \[ \text{MathLib.or}(x_1, \dots, x_n) = \bigvee_{i=1}^n x_i \]

Specification

MathLib.or accepts either a list of arguments or one array.
  1. MathLib.or() = false
  2. MathLib.or(true) = true
  3. MathLib.or(false) = false
  4. MathLib.or$(x_1, \dots, x_n) = \bigvee_{i=1}^n x_i$

Tests

Categories: n-ary Function