MCPcopy
hub / github.com/vuejs/composition-api / hasOwn

Function hasOwn

src/utils/utils.ts:39–41  ·  view source on GitHub ↗
(obj: Object, key: PropertyKey)

Source from the content-addressed store, hash-verified

37}
38
39export function hasOwn(obj: Object, key: PropertyKey): boolean {
40 return Object.hasOwnProperty.call(obj, key)
41}
42
43export function assert(condition: any, msg: string) {
44 if (!condition) {

Callers 11

mergeDataFunction · 0.90
isVueRegisteredFunction · 0.90
isRawFunction · 0.90
isReactiveFunction · 0.90
observeFunction · 0.90
mockReactivityDeepFunction · 0.90
delFunction · 0.90
ssrMockReactivityFunction · 0.90
asVmPropertyFunction · 0.90
updateVmAttrsFunction · 0.90
resolveInjectFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…