Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/samuelmarina/is-even

Is a number even?
https://github.com/samuelmarina/is-even

even

Last synced: 20 days ago
JSON representation

Is a number even?

Lists

README

        

# is-even [![npm](https://img.shields.io/npm/v/@samuelmarina/is-even)](https://www.npmjs.com/package/@samuelmarina/is-even) [![YouTube Channel Subscribers](https://img.shields.io/youtube/channel/subscribers/UCJKYubtV1bfbhS-SxTm9Z1A?style=social)](https://youtube.com/sammillervlogs)
> Return true if the number passed is even, hopefully...

## Install
Install with [npm](https://www.npmjs.com/)
```sh
$ npm install --save @samuelmarina/is-even
```

## How to use it
```js
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](https://www.npmjs.com/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**
* [github/samuelmarina](https://github.com/samuelmarina)
* [youtube/sammillervlogs](https://youtube.com/sammillervlogs)

### License
Copyright © 2021, [Samuel Mariña](https://github.com/samuelmarina).
Released under the [ISC License](LICENSE).