3 ms·
It’s true, the great thing about clean, reusable, modular code like this is that you can compose both of these packages to make a is-even-or-odd package.
by jl6 3y ago
It’s true, the great thing about clean, reusable, modular code like this is that you can compose both of these packages to make a is-even-or-odd package.
- lvncelot 3y agoWell first you need to obviously build an OR package, part of your suite of logical operator packages, all depending on your battle-tested, high performance XOR package.
- wiseowise 3y agoGroundbreaking!
- kparaju 3y agoYou joke... but https://www.npmjs.com/package/is-odd-or-even https://www.npmjs.com/package/is-odd-or-even