MCPcopy
hub / github.com/vuejs/core / isPlainObject

Function isPlainObject

packages/shared/src/general.ts:74–75  ·  view source on GitHub ↗
(val: unknown)

Source from the content-addressed store, hash-verified

72}
73
74export const isPlainObject = (val: unknown): val is object =>
75 toTypeString(val) === '[object Object]'
76
77export const isIntegerKey = (key: unknown): boolean =>
78 isString(key) &&

Callers 6

traverseFunction · 0.90
cloneFunction · 0.90
replacerFunction · 0.90
defineCustomElementFunction · 0.90
dispatchMethod · 0.90
deepMergeDataFunction · 0.90

Calls 1

toTypeStringFunction · 0.85

Tested by

no test coverage detected