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