vuestic-ui
Version:
Vue 3 UI Framework
1 lines • 694 B
Source Map (JSON)
{"version":3,"file":"has-own-property.mjs","sources":["../../../../src/utils/has-own-property.ts"],"sourcesContent":["// TODO: @m0ksem: I think this is a thing that nobody will care about and we can delete this\nexport const hasOwnProperty = <\n KEYS extends string, KEY extends string, Values\n>(object: Record<KEYS, Values>, key: string): object is Record<KEYS | KEY, Values> => {\n // See https://eslint.org/docs/rules/no-prototype-builtins for explanation\n // on why we don't use object.hasOwnProperty directly.\n return Object.prototype.hasOwnProperty.call(object, key)\n}\n"],"names":[],"mappings":"AACa,MAAA,iBAAiB,CAE5B,QAA8B,QAAsD;AAGpF,SAAO,OAAO,UAAU,eAAe,KAAK,QAAQ,GAAG;AACzD;"}