@pixi/react
Version:
Write PixiJS applications using React declarative style.
1 lines • 792 B
Source Map (JSON)
{"version":3,"file":"isReadOnlyProperty.mjs","sources":["../../src/helpers/isReadOnlyProperty.ts"],"sourcesContent":["export function isReadOnlyProperty(\n objectInstance: Record<string, unknown>,\n propertyKey: string,\n)\n{\n const prototype = Object.getPrototypeOf(objectInstance);\n const propertyDescriptor = Object.getOwnPropertyDescriptor(prototype, propertyKey);\n\n return !(typeof propertyDescriptor === 'undefined' || propertyDescriptor.writable || propertyDescriptor.set);\n}\n"],"names":[],"mappings":";AAAgB,SAAA,kBAAA,CACZ,gBACA,WAEJ,EAAA;AACI,EAAM,MAAA,SAAA,GAAY,MAAO,CAAA,cAAA,CAAe,cAAc,CAAA;AACtD,EAAA,MAAM,kBAAqB,GAAA,MAAA,CAAO,wBAAyB,CAAA,SAAA,EAAW,WAAW,CAAA;AAEjF,EAAA,OAAO,EAAE,OAAO,kBAAA,KAAuB,WAAe,IAAA,kBAAA,CAAmB,YAAY,kBAAmB,CAAA,GAAA,CAAA;AAC5G;;;;"}