Skip to content
Subhajit Sahu edited this page Jan 31, 2021 · 17 revisions

Check if antecedent ⇔ consequent (a ⇔ b). 📦 😺 🏃 📼 🌔 📜 📰 📘

Similar: imply, eq.


boolean.eq(a, b);
// a: antecedent
// b: consequent
const boolean = require("extra-boolean");

boolean.eq(false, false);
// true

boolean.eq(true, true);
// true

boolean.eq(false, true);
// false

boolean.eq(true, false);
// false


References

Clone this wiki locally