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

@indlekofer/is_numeric

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

@indlekofer/is_numeric

is numeric

latest
Source
npmnpm
Version
1.1.1
Version published
Maintainers
1
Created
Source

@indlekofer/is_numeric

npm version

returns true for numbers (int, float) and strings containing only numbers (space is not a number). false for boolean, undefined, null, empty strings, invalid strings, +/-infinity

Usage

import isNumeric from '@indlekofer/is_numeric';

console.log(isNumeric("100")); // -> true

Params

data: string|number

Return

boolean

FAQs

Package last updated on 21 Apr 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