• Stars
    star
    164
  • Rank 221,807 (Top 5 %)
  • Language
    JavaScript
  • Created over 2 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Is a number odd?

is-odd npm YouTube Channel Subscribers

Return true if the number passed is odd, hopefully...

Install

Install with npm

$ npm install --save @samuelmarina/is-odd

How to use it

var isOdd = require('@samuelmarina/is-odd');

isOdd(1); //true
isOdd(2); //false
isOdd(3); //true
// And so on... just for a little while

About

This is a 100% serious project, and it is made to help the community. I figured it out that people also would like to know when a number is odd, and with the npm package @samuelmarina/is-even it was not completely clear, so I decided to create this one as well. Remember, all this hard work is because I care about the community

Contributing

PLEASE, MAKE A PULL REQUEST SO WE CAN FINISH THIS PROJECT ASAP. Also, give it a star, for the sake of God.

Author

Samuel Mariña AKA Samuel Miller

License

Copyright © 2021, Samuel Mariña. Released under the ISC License.