Skip to content
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


References

Clone this wiki locally