nave@lemmy.zip to Lemmy Shitpost@lemmy.worldEnglish · 11 months agoI wishi.imgur.comimagemessage-square150fedilinkarrow-up1707arrow-down116
arrow-up1691arrow-down1imageI wishi.imgur.comnave@lemmy.zip to Lemmy Shitpost@lemmy.worldEnglish · 11 months agomessage-square150fedilink
minus-squarelevi@aussie.zonelinkfedilinkarrow-up21·11 months agoOh man, in js we have a package for this magic.
minus-squaretakeda@lemmy.worldlinkfedilinkarrow-up9·11 months agoAnd it is so light, it only requires is-odd package!
minus-squareDewded@lemmy.worldlinkfedilinkarrow-up7·11 months agoThat one is bad, I use this one https://www.npmjs.com/package/is-is-is-even
minus-squareNobsi@feddit.delinkfedilinkarrow-up3·edit-211 months agoWhy even do that, just check if this outputs false https://www.npmjs.com/package/is-is-is-is-is-is-odd
minus-squareFloey@lemm.eelinkfedilinkarrow-up4·11 months agoI always forget if is even requires is odd or the other way around.
Oh man, in js we have a package for this magic.
And it is so light, it only requires is-odd package!
That one is bad, I use this one https://www.npmjs.com/package/is-is-is-even
Why even do that, just check if this outputs false https://www.npmjs.com/package/is-is-is-is-is-is-odd
Oh fuck, gonna refactor asap!
I always forget if is even requires is odd or the other way around.
Weekly Downloads: 293.319