wallet-core/node_modules/es5-ext/function/is-function.js
2017-08-14 05:02:09 +02:00

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;
};