booleanator
v1.2.0
Published
A zero dependency package offering extra JS booleans!
Readme
BOOLEANATOR by GoodSoft
Getting Started
What's BOOLEANATOR?
Booleanator adds new types of booleans, such as maybe, probably, and probably not
Example
const bool = require("booleanator");
const iDieToday = bool.probnot; //Probably not
const iDieBeforeAge110 = bool.prob; //Probably
const iLikePancakes = bool.maybe; //Probably
if (iDieToday == bool.probnot) {
console.log("I probably will not die today!!!");
} // Will log "I probably will not die today!!!" in the console
