New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@annexe/isfloat

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@annexe/isfloat

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

latest
Source
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

@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

Keywords

float

FAQs

Package last updated on 05 Feb 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts