Chalkboard - v3.0.1
    Preparing search index...

    Function NOT

    • Calculates the logical NOT operation on one or more values. When more than one value is inputted, it applies NOT to each and then returns true only if all values are false.

      Parameters

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

        One or more values.

      Returns boolean | 0 | 1

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