frontend/.pnpm-store/v3/files/04/8f0e591329d8ed6c46a986f77f958618d7d9c95c3dd38e215909601812e42373a1254bc8b70712e27427d37f463daac9fe9d5319097c301fbaacadf4df9227

20 lines
447 B
Plaintext

"use strict";
var isPrototype = require("../prototype/is");
module.exports = function (value) {
if (typeof value !== "function") return false;
if (!hasOwnProperty.call(value, "length")) return false;
try {
if (typeof value.length !== "number") return false;
if (typeof value.call !== "function") return false;
if (typeof value.apply !== "function") return false;
} catch (error) {
return false;
}
return !isPrototype(value);
};