README
Checks if antecedent ⇒ consequent (a ⇒ b).
📦 NPM,
😺 GitHub,
🏃 RunKit,
🌔 Minified,
📜 Files,
📰 JSDoc,
📘 Wiki.
This is part of package extra-boolean.
This is browserified, minified version of @extra-boolean/imply.
It is exported as global variable boolean_imply.
CDN: unpkg, jsDelivr.
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