Skip to content
Subhajit Sahu edited this page Mar 25, 2021 · 5 revisions

Checks if antecedent ⇒ consequent (a ⇒ b). 📰 📘

Similar: imply, nimply.
Similar: imply, eq.


imply(a, b)
// a: antecedent
// b: consequent
const {imply} = require("extra-boolean");

imply(false, false);
// true

imply(false, true);
// true

imply(true, true);
// true

imply(true, false);
// false


References

Clone this wiki locally