Jeff on Nostr: I can _almost_ understand the need for the `is-odd` npm package, but `is-even` really ...
I can _almost_ understand the need for the `is-odd` npm package, but `is-even` really doesn't make sense to me:
```
var isOdd = require('is-odd');
module.exports = function isEven(i) {
return !isOdd(i);
};
```
I can't imagine typing `!isOdd(a)` and thinking, "actually, I don't want to type an exclamation mark, I wonder if I can import yet another package …
```
var isOdd = require('is-odd');
module.exports = function isEven(i) {
return !isOdd(i);
};
```
I can't imagine typing `!isOdd(a)` and thinking, "actually, I don't want to type an exclamation mark, I wonder if I can import yet another package …