5 ms·
https://www.npmjs.com/package/is-odd-and-even https://www.npmjs.com/package/is-odd-and-even I don't know what to say. /** * is-odd-and-even * Github:
by johnchristopher 4y ago
https://www.npmjs.com/package/is-odd-and-even https://www.npmjs.com/package/is-odd-and-even
I don't know what to say.
/**
* is-odd-and-even
* Github: https://github.com/fabrisdev/is-odd-and-even
*/
import isOdd from 'is-odd'
import isEven from 'is-even'
/**
* @param {number | string} i The number to check if it's odd and even
* @returns {boolean} True if the number is odd and even, false otherwise
*/
export default function isOddAndEven(i){
return isOdd(i) && isEven(i)
}
- UncleMeat 4y agoIsOdd and IsEven are so famous that it would not surprise me at all if there a bunch of joke modules using them.