Calculates the biconditional (if and only if) operation on two or more values.

const x = Chalkboard.bool.BICOND(true, true, true); // Returns true
const y = Chalkboard.bool.BICOND(true, false, true); // Returns false
const z = Chalkboard.bool.BICOND(false, false, false); // Returns true
  • Parameters

    • ...vals: (boolean | 0 | 1)[]

      Two or more values.

    Returns boolean | 0 | 1