Skip to content
Subhajit Sahu edited this page Jul 19, 2022 · 15 revisions

Check if antecedent ⇏ consequent.

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


nimply(a, b)
// a: antecedent
// b: consequent
const xboolean = require('extra-boolean');

xboolean.nimply(true, false);
// → true

xboolean.nimply(true, true);
// → false

xboolean.nimply(false, true);
// → false

xboolean.nimply(false, false);
// → false


References

Clone this wiki locally