https://github.com/samuelmarina/is-odd
Is a number odd?
https://github.com/samuelmarina/is-odd
odd
Last synced: 4 months ago
JSON representation
Is a number odd?
- Host: GitHub
- URL: https://github.com/samuelmarina/is-odd
- Owner: samuelmarina
- Created: 2021-08-17T19:56:36.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-09-07T09:58:45.000Z (almost 5 years ago)
- Last Synced: 2025-04-09T19:05:57.978Z (about 1 year ago)
- Topics: odd
- Language: JavaScript
- Homepage:
- Size: 53.6 MB
- Stars: 187
- Watchers: 2
- Forks: 23
- Open Issues: 21
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# is-odd [](https://www.npmjs.com/package/@samuelmarina/is-odd) [](https://youtube.com/sammillervlogs)
> Return true if the number passed is odd, hopefully...
## Install
Install with [npm](https://www.npmjs.com/)
```sh
$ npm install --save @samuelmarina/is-odd
```
## How to use it
```js
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](https://www.npmjs.com/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**
* [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).