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

Function isObservableObject

packages/mobx/src/types/observableobject.ts:715–720  ·  view source on GitHub ↗
(thing: any)

Source from the content-addressed store, hash-verified

713}
714
715export function isObservableObject(thing: any): boolean {
716 if (isObject(thing)) {
717 return isObservableObjectAdministration((thing as any)[$mobx])
718 }
719 return false
720}
721
722export function recordAnnotationApplied(
723 adm: ObservableObjectAdministration,

Callers 15

decorate.jsFile · 0.90
babel-tests.jsFile · 0.90
make-observable.tsFile · 0.90
shallowEnhancerFunction · 0.70
asObservableObjectFunction · 0.70
getAtomFunction · 0.70
getDebugNameFunction · 0.70
interceptReadsFunction · 0.50
_isObservableFunction · 0.50

Calls 1

isObjectFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…