Chalkboard - v3.0.1
    Preparing search index...

    Function NCOND

    • Calculates the opposite of the conditional (non-implication) on two or more values. It works as a chain, i.e. it returns true only if every adjacent pair (p, q) satisfies ¬p ∨ q.

      Parameters

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

        Two or more values

      Returns boolean | 0 | 1

      const x = Chalkboard.bool.COND(false, false, true); // Returns false
      const y = Chalkboard.bool.COND(true, false, true); // Returns true