0.1.0 • Published 2 years ago

@annexe/isnumber v0.1.0

Weekly downloads
5
License
MIT
Repository
github
Last release
2 years ago

@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
0.1.0

2 years ago

0.1.1

2 years ago