@chriscodesthings/is-number

1.0.0 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i @chriscodesthings/is-number

Weekly Downloads

2

Version

1.0.0

License

MIT

Unpacked Size

3.58 kB

Total Files

6

Last publish

Collaborators

  • chriscodesthings