Skip to content

wlvchandler/ismillion

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

IsMillion

Very powerful package to check if a number is one million.

npm install is-million
import isMillion from "is-million";

if ( isMillion(1000000) ) {
	console.log('It is one million.');
}

if ( isMillion(1000001) ) {
	console.log('It is not one million.');
}

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%