mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-25 10:01:30 -04: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;
|
|
};
|