Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

isset-helper

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

isset-helper - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

10

package.json
{
"name": "isset-helper",
"version": "3.0.0",
"version": "3.0.1",
"description": "A tiny helper method, checking a variable for existence",

@@ -27,3 +27,9 @@ "main": "./dist/module.umd.js",

"pump": "^3.0.0"
}
},
"files": [
"dist/",
"package.json",
"README.md",
"LICENSE"
]
}

3

README.md

@@ -54,3 +54,4 @@ # Isset Helper

2. `variable` is not `undefined`
3. If `type` is a string, `typeof variable` has to match `type`, otherwise, `variable` has to match `instanceof type`
3. If `type` is a string, `typeof variable` has to match `type`,
otherwise `variable` has to match `instanceof type`
4. If `type` is `"string"`, the length of trimmed `variable` is greater than zero

@@ -57,0 +58,0 @@ 5. If `type` is `"array"`, `variable` has to pass the [`Array.isArray()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/isArray) check

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