Socket
Socket
Sign inDemoInstall

is-callable

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

is-callable - npm Package Compare versions

Comparing version 1.0.0 to 1.0.2

8

CHANGELOG.md

@@ -0,3 +1,11 @@

1.0.2 / 2015-01-29
=================
* Fix broken package.json
1.0.1 / 2015-01-29
=================
* Add early exit for typeof not "function"
1.0.0 / 2015-01-29
=================
* Initial release.

1

index.js

@@ -6,2 +6,3 @@ 'use strict';

module.exports = function isCallable(value) {
if (typeof value !== 'function') { return false; }
try {

@@ -8,0 +9,0 @@ fnToStr.call(value);

2

package.json
{
"name": "is-callable",
"version": "1.0.0",
"version": "1.0.2",
"author": "Jordan Harband",

@@ -5,0 +5,0 @@ "description": "Is this JS value callable? Works with Functions and GeneratorFunctions, despite ES6 @@toStringTag.",

Sorry, the diff of this file is not supported yet

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