is-odd-by-vijay

Checks whether a no is odd nor not


Keywords
odd
License
ISC
Install
npm install is-odd-by-vijay@1.0.0

Documentation

My first NPM Package

Fed up everytime finding a solution on stackoverflow for the question 'How to check whether a no. is odd or not in Javascript?'😭

Here's a quick solution😀

This npm package contains the function to check whether a no. is odd or not😅

Step 1: Install the package

npm i @vijayjoshi16/is-odd

Step 2: Import the package

const isOdd = require('@vijayjoshi16/is-odd');

Step 3: Call the inbuilt functions to do the task

console.log(isOdd(1));

Feel free to contribute to this package😜. For more details, visit this npm page for the package https://www.npmjs.com/package/@vijayjoshi16/is-odd