0.1.0 • Published 2 years ago

@annexe/isfloat v0.1.0

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

@annexe/isfloat

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

Installation

To install @annexe/isfloat:

Yarn

yarn add @annexe/isfloat

NPM

npm install @annexe/isfloat

Usage

import { isFloat } from '@annexe/isstring';

console.log(isFloat(123)); // logs FALSE
console.log(isFloat(3.142)); // logs TRUE
0.1.0

2 years ago

0.1.1

2 years ago