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