UNPKG

595 BSource Map (JSON)View Raw
1{"version":3,"file":"isPrototypeAccess.js","sourceRoot":"","sources":["../src/utils/isPrototypeAccess.ts"],"names":[],"mappings":";;AAAA,2BAAkC,OAAe,EAAE,MAAc;IAC/D,MAAM,CAAC,OAAO,KAAK,MAAM;WACpB,CAAC,OAAO,CAAC,WAAW,KAAK,MAAM,CAAC,WAAW;eACzC,MAAM,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,WAAW,KAAK,MAAM,CAAC,WAAW,CAAC,CAAC;AACzE,CAAC;AAJD,8CAIC","sourcesContent":["export function isPrototypeAccess(context: object, target: object): boolean {\n return context === target\n || (context.constructor !== target.constructor\n && Object.getPrototypeOf(this).constructor === target.constructor);\n}\n"]}
\No newline at end of file