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

Package detail

is-it-decimal

slacker072ISC1.0.13

Checks whether the number is decimal or not

decimal, integer, number, lazy

readme

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