Skip to content
Subhajit Sahu edited this page Jan 30, 2021 · 19 revisions

Check if antecedent ⇒ consequent (a ⇒ b).


boolean.xor(a, b, ...)
const boolean = require('extra-boolean');

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

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

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

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


References

Clone this wiki locally