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/imp.
It is exported as global variable boolean_imp.
CDN: unpkg, jsDelivr.
imp(a, b)
// a: antecedent
// b: consequent
const {imp} = require("extra-boolean");
imp(false, false);
// true
imp(false, true);
// true
imp(true, true);
// true
imp(true, false);
// false