Socket
Socket
Sign inDemoInstall

is-numeric

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

is-numeric - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

2

is-numeric.js

@@ -6,3 +6,3 @@ (function(root) {

if (typeof v === 'number') return true;
var s = v.toString();
var s = (v||'').toString();
if (!s) return false;

@@ -9,0 +9,0 @@ return !isNaN(s);

{
"name": "is-numeric",
"version": "0.0.2",
"version": "0.0.3",
"description": "Predicate that returns true for numeric values.",

@@ -5,0 +5,0 @@ "main": "is-numeric.js",

@@ -52,2 +52,4 @@ # is-numeric

console.log(isNumeric({})); // false
console.log(isNumeric(undefined)); // false
console.log(isNumeric(null)); // false
```

@@ -54,0 +56,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc