• Stars
    star
    1,846
  • Rank 25,137 (Top 0.5 %)
  • Language
  • Created over 3 years ago
  • Updated 7 months ago

Reviews

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

Repository Details

Is a number even?

is-even npm YouTube Channel Subscribers

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

Install

Install with npm

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

How to use it

var isEven = require('@samuelmarina/is-even');

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

About

This is a 100% serious project, and it is made to help the community. There are a lot of cases where young developers face the issue of finding if a number is even, so I decided to help them by creating this beautiful package. Hopefully, someday it will be completed...
It is also important to know if a number is odd, so additionally I created this other package @samuelmarina/is-odd

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.