Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

is-not-integer

evilfactory6GNU1.0.2

Returns false if something is a integer.

integer, check, not, is-integer, is-not-integer

readme

npm

Is-not-integer

Checks if something is NOT a integer

Example

isnotinteger = require("is-not-integer")

console.log(isnotinteger(50)) // false
console.log(isnotinteger('50')) // true
console.log(isnotinteger(32.3)) // true
console.log(isnotinteger(['no','well','why','i','created','this'])) // true


console.log(isnotinteger(50, 50000)) // More precision = better

console.log(isnotinteger()) // magic

License

This project is licensed under the GNU License - read the LICENSE file for details