4 ms·
There are packages for those things in npm, but they you'll have to start using javascript... https://www.npmjs.com/package/@samuelmarina/is-even https://www.n
by fifilura 2y ago
There are packages for those things in npm, but they you'll have to start using javascript...
https://www.npmjs.com/package/@samuelmarina/is-even https://www.npmjs.com/package/@samuelmarina/is-even
The javascript crowd. They are always one step ahead!
- _yb2s 2y agoHaha, a 100mb library, it doesn't say so but is this really a dictionary of numbers with even/odd as values? I love that they have an entirely separate is-odd package. //edit: looked at the code, it's literally 100mb of if else statements- and a bunch of them are wrong! The github pull requests to add additional integers are hilarious.
- _yb2s 2y agoAI powered version: https://github.com/rhettlunn/is-odd-ai https://github.com/rhettlunn/is-odd-ai