What is Nostr?
Jeff /
npub1kl0…fkuk
2024-01-10 09:29:32

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 …
Author Public Key
npub1kl0ma0mkpmajcatt8jhz9w40mw7l2k4m0qhct6fmfkuqf4wt5l3sc8fkuk