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

Function isString

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

Source from the content-addressed store, hash-verified

49export const isFunction = (val: unknown): val is Function =>
50 typeof val === 'function'
51export const isString = (val: unknown): val is string => typeof val === 'string'
52export const isSymbol = (val: unknown): val is symbol => typeof val === 'symbol'
53export const isObject = (val: unknown): val is Record<any, any> =>
54 val !== null && typeof val === 'object'

Callers 15

compileToFunctionFunction · 0.90
pushStringPartFunction · 0.90
toDisplayStringFunction · 0.90
normalizeStyleFunction · 0.90
stringifyStyleFunction · 0.90
normalizeClassFunction · 0.90
normalizePropsFunction · 0.90
stringifyNodeFunction · 0.90
evaluateConstantFunction · 0.90
pushFunction · 0.90
renderComponentSubTreeFunction · 0.90
renderTeleportVNodeFunction · 0.90

Calls

no outgoing calls

Tested by 1

createObjectMatcherFunction · 0.72