@annexe/isnumber
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

@annexe/isnumber

A Typescript utility function to assert whether a value is a number type.

Installation

To install @annexe/isnumber:

Yarn

yarn add @annexe/isnumber

NPM

npm install @annexe/isnumber

Usage

import { isNumber } from '@annexe/isnumber';

console.log(isNumber(123)); // logs TRUE
console.log(isNumber('3.142')); // logs TRUE

Readme

Keywords

Package Sidebar

Install

npm i @annexe/isnumber

Weekly Downloads

0

Version

0.1.0

License

MIT

Unpacked Size

3.5 kB

Total Files

13

Last publish

Collaborators

  • heyjules