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

Function toTypeString

src/utils/utils.ts:65–66  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

63export const objectToString = Object.prototype.toString
64
65export const toTypeString = (value: unknown): string =>
66 objectToString.call(value)
67
68export const isMap = (val: unknown): val is Map<any, any> =>
69 toTypeString(val) === '[object Map]'

Callers 2

isMapFunction · 0.85
isSetFunction · 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…