is-callable
Advanced tools
Comparing version 1.0.0 to 1.0.2
@@ -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. |
@@ -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); |
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17848
91