@chriscodesthings/is-number
v1.0.0
Published
Function to determine if something is a number type
Downloads
2
Maintainers
Readme
is-number ·
Function to determine if something is a number type
Install
npm install --save @chriscodesthings/is-number
Use
import isNumber from '@chriscodesthings/is-number';
console.log(isNumber(123));
// => true
Syntax
isNumber(var);
Parameters
- var: any
Return Value
Returns boolean true
if var is a number type, false
otherwise.
Description
Does what it says on the tin.