Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
package.dist.prod.thirdparty.isPlainObject.js.map Maven / Gradle / Ivy
{
"version": 3,
"sources": ["../../../src/thirdparty/isPlainObject.ts"],
"sourcesContent": ["var class2type = {};\nvar hasOwn = class2type.hasOwnProperty;\nvar toString = class2type.toString;\nvar fnToString = hasOwn.toString;\nvar ObjectFunctionString = fnToString.call(Object);\nvar fnIsPlainObject = function (obj: object) {\n var proto, Ctor;\n if (!obj || toString.call(obj) !== \"[object Object]\") {\n return false;\n }\n proto = Object.getPrototypeOf(obj);\n if (!proto) {\n return true;\n }\n Ctor = hasOwn.call(proto, \"constructor\") && proto.constructor;\n return typeof Ctor === \"function\" && fnToString.call(Ctor) === ObjectFunctionString;\n};\nexport default fnIsPlainObject;\n"],
"mappings": "aAAA,IAAIA,EAAa,CAAC,EACdC,EAASD,EAAW,eACpBE,EAAWF,EAAW,SACtBG,EAAaF,EAAO,SACpBG,EAAuBD,EAAW,KAAK,MAAM,EAC7CE,EAAkB,SAAUC,EAAa,CAC3C,IAAIC,EAAOC,EACX,MAAI,CAACF,GAAOJ,EAAS,KAAKI,CAAG,IAAM,kBAC1B,IAETC,EAAQ,OAAO,eAAeD,CAAG,EAC5BC,GAGLC,EAAOP,EAAO,KAAKM,EAAO,aAAa,GAAKA,EAAM,YAC3C,OAAOC,GAAS,YAAcL,EAAW,KAAKK,CAAI,IAAMJ,GAHtD,GAIX,EACA,eAAeC",
"names": ["class2type", "hasOwn", "toString", "fnToString", "ObjectFunctionString", "fnIsPlainObject", "obj", "proto", "Ctor"]
}