mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-25 09:55:15 +00:00
1 line
1.5 KiB
JSON
1 line
1.5 KiB
JSON
{"ast":null,"code":"/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n/**\n * Checks if `value` is likely a prototype object.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.\n */\n\nfunction isPrototype(value) {\n var Ctor = value && value.constructor,\n proto = typeof Ctor == 'function' && Ctor.prototype || objectProto;\n return value === proto;\n}\n\nexport default isPrototype;","map":{"version":3,"sources":["/app/node_modules/lodash-es/_isPrototype.js"],"names":["objectProto","Object","prototype","isPrototype","value","Ctor","constructor","proto"],"mappings":"AAAA;AACA,IAAIA,WAAW,GAAGC,MAAM,CAACC,SAAzB;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,SAASC,WAAT,CAAqBC,KAArB,EAA4B;AAC1B,MAAIC,IAAI,GAAGD,KAAK,IAAIA,KAAK,CAACE,WAA1B;AAAA,MACIC,KAAK,GAAI,OAAOF,IAAP,IAAe,UAAf,IAA6BA,IAAI,CAACH,SAAnC,IAAiDF,WAD7D;AAGA,SAAOI,KAAK,KAAKG,KAAjB;AACD;;AAED,eAAeJ,WAAf","sourcesContent":["/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Checks if `value` is likely a prototype object.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.\n */\nfunction isPrototype(value) {\n var Ctor = value && value.constructor,\n proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;\n\n return value === proto;\n}\n\nexport default isPrototype;\n"]},"metadata":{},"sourceType":"module"} |