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

Function isPlainObject

src/utils/utils.ts:89–91  ·  view source on GitHub ↗
(x: unknown)

Source from the content-addressed store, hash-verified

87}
88
89export function isPlainObject(x: unknown): x is Record<any, any> {
90 return toString(x) === '[object Object]'
91}
92
93export function isFunction(x: unknown): x is Function {
94 return typeof x === 'function'

Callers 11

mergeDataFunction · 0.90
customReactiveFunction · 0.90
hasReactiveArrayChildFunction · 0.90
toRefsFunction · 0.90
setupAccessControlFunction · 0.90
mockReactivityDeepFunction · 0.90
shallowReactiveFunction · 0.90
reactiveFunction · 0.90
markRawFunction · 0.90
shallowReadonlyFunction · 0.90
traverseFunction · 0.90

Calls 1

toStringFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…