-
Notifications
You must be signed in to change notification settings - Fork 0
imply
Subhajit Sahu edited this page Jul 19, 2022
·
15 revisions
Check if antecedent ⇒ consequent.
imply(a, b)
// a: antecedent
// b: consequent
const xboolean = require('extra-boolean');
xboolean.imply(false, false);
// → true
xboolean.imply(false, true);
// → true
xboolean.imply(true, true);
// → true
xboolean.imply(true, false);
// → false