2.4.0 • Published 3 years ago

is-real v2.4.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

is-real

Is this real?

You can easily figure out which string is a real number with is-real.

Usage

const is_real = require('is_real')

console.log(is_real(123)) // true
console.log(is_real(+123.12)) // true
console.log(is_real(-123.00)) // true
console.log(is_real('123')) // true
console.log(is_real('abc')) // false

Dependencies

  • Nothing

If there's no problem using javascript and npm, it will work well.

License

  • MIT License

You can use it the way you want.

Contact

2.4.0

3 years ago

2.3.2

3 years ago

2.2.2

3 years ago

2.2.1

3 years ago

2.2.0

3 years ago

2.1.2

3 years ago

2.1.1

3 years ago

2.0.1

3 years ago

1.0.0

3 years ago