1.0.13 • Published 5 years ago
is-it-decimal v1.0.13
is-it-decimal
Returns true if the number passed is Decimal, otherwise returns false (-_-)
Simple, yet another JS library to make your lazy life more lazier.
Install with npm
$ npm install --save is-it-decimal
Usage
Works with numbers. Just do as the docs say
const { isItDecimal } = require('is-it-decimal');
console.log(isItDecimal(10.01)) //->> true
console.log(isItDecimal(10.0)) //->> false
console.log(isItDecimal(10)) //->> false
console.log(isItDecimal(0)) //->> false
##Licence
Do whatever you want with it, hell yeah its FREE.
Made with stupidity