Checks if two boolean expressions are logically equivalent.
const x = Chalkboard.bool.isEqual("x & y", "y & x"); // Returns trueconst y = Chalkboard.bool.isEqual("x & y | z", "(x | z) & (y | z)"); // Returns falseconst z = Chalkboard.bool.isEqual("x & (y | z)", "(x & y) | (x & z)"); // Returns true Copy
const x = Chalkboard.bool.isEqual("x & y", "y & x"); // Returns trueconst y = Chalkboard.bool.isEqual("x & y | z", "(x | z) & (y | z)"); // Returns falseconst z = Chalkboard.bool.isEqual("x & (y | z)", "(x & y) | (x & z)"); // Returns true
First boolean expression
Second boolean expression
Checks if two boolean expressions are logically equivalent.
Example