MCPcopy
hub / github.com/mobxjs/mobx / hasProp

Function hasProp

packages/mobx/src/utils/utils.ts:208–210  ·  view source on GitHub ↗
(target: Object, prop: PropertyKey)

Source from the content-addressed store, hash-verified

206}
207
208export function hasProp(target: Object, prop: PropertyKey): boolean {
209 return objectPrototype.hasOwnProperty.call(target, prop)
210}
211
212// From Immer utils
213export const getOwnPropertyDescriptors =

Callers 12

make_Function · 0.85
get_Method · 0.85
set_Method · 0.85
delete_Method · 0.85
asObservableObjectFunction · 0.85
assertAnnotableFunction · 0.85
make_Function · 0.85
getFunction · 0.85
eqFunction · 0.85
storeAnnotationFunction · 0.85
assertNotDecoratedFunction · 0.85
collectStoredAnnotationsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…