The Wayback Machine - https://web.archive.org/web/20210820065743/https://github.com/samuelmarina/is-even
Skip to content
main
Switch branches/tags
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time

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.

About

Is a number even?

Topics

Resources

Releases

No releases published

Packages

No packages published