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

0.1.1 • Public • Published

@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/isfloat';

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

Package Sidebar

Install

npm i @annexe/number.isfloat

Weekly Downloads

0

Version

0.1.1

License

MIT

Unpacked Size

6.8 kB

Total Files

14

Last publish

Collaborators

  • heyjules