mirror of
https://github.com/hanzoai/es5-ext.git
synced 2026-09-24 16:58:43 +00:00
8 lines
213 B
JavaScript
8 lines
213 B
JavaScript
"use strict";
|
|
|
|
var objToString = Object.prototype.toString, id = objToString.call(require("./noop"));
|
|
|
|
module.exports = function (value) {
|
|
return typeof value === "function" && objToString.call(value) === id;
|
|
};
|