https://github.com/ernestmarcinko/ismillion
Very powerful package to check if a number is one million.
https://github.com/ernestmarcinko/ismillion
Last synced: 3 months ago
JSON representation
Very powerful package to check if a number is one million.
- Host: GitHub
- URL: https://github.com/ernestmarcinko/ismillion
- Owner: ernestmarcinko
- Created: 2024-06-24T14:14:12.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2024-06-25T12:22:56.000Z (11 months ago)
- Last Synced: 2025-01-20T12:40:04.129Z (4 months ago)
- Language: JavaScript
- Size: 2.41 MB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# IsMillion
Very powerful package to check if a number is one million.```shell
npm install is-million
``````javascript
import isMillion from "is-million";if ( isMillion(1000000) ) {
console.log('It is one million.');
}if ( isMillion(1000001) ) {
console.log('It is not one million.');
}
```