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.
const x = Chalkboard.bool.NOT(false); // Returns trueconst y = Chalkboard.bool.NOT(true, false, false); // Returns falseconst z = Chalkboard.bool.NOT(false, false, false); // Returns true Copy
const x = Chalkboard.bool.NOT(false); // Returns trueconst y = Chalkboard.bool.NOT(true, false, false); // Returns falseconst z = Chalkboard.bool.NOT(false, false, false); // Returns true
One or more values.
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.
Example