All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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"]
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy