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

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.

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.');
}
```