Yet another useless project, brought to you by Redacted Devs
Ever wanted to check to see you maybe have something, but you're too lazy to use typescript? Boy, do I have the most useless package for you!
const MaybeSomething = require("./index");
/**
* Returns Obj
* { value }
**/
let thing = new MaybeSomething("thing");
let nothing = new MaybeSomething(null);
/**
* MaybeSomething { value: 'thing' }
* MaybeSomething { value: null }
* */
console.log(thing);
console.log(nothing);
- Contribute on the open source github!