Skip to content
Subhajit Sahu edited this page Jan 29, 2021 · 15 revisions

Check if any value is true.


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

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

boolean.or(false, false);
// false

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

boolean.or(false, false, false, false);
// false


References

Clone this wiki locally