1.0.0 • Published 1 year ago

@chriscodesthings/is-number v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

is-number · Test workflow status NPM Version License: MIT

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.

1.0.0

1 year ago