is-it-num

Checks whether the given data is a number

Usage no npm install needed!

<script type="module">
  import isItNum from 'https://cdn.skypack.dev/is-it-num';
</script>

README

is-it-num

Returns true if the passed data is number, otherwise returns false (-_-)

Simple, mostly useless yet another JS library to make your lazy life more lazier.

Install with npm

$ npm install --save is-it-num

Usage

Works with numbers. Just do as the docs say

const isItNum = require('is-it-num');

console.log(isItNum(10.01)) //->> true
console.log(isItNum(10)) //->> true
console.log(isItNum(-1)) //->> true
console.log(isItNum("false")) //->> false

Licence

Do whatever you want with it, hell yeah its FREE.

Made with stupidity