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

Function isRef

packages/shared/src/toDisplayString.ts:16–18  ·  view source on GitHub ↗
(val: any)

Source from the content-addressed store, hash-verified

14
15// can't use isRef here since @vue/shared has no deps
16const isRef = (val: any): val is { value: unknown } => {
17 return !!(val && val[ReactiveFlags.IS_REF] === true)
18}
19
20/**
21 * For converting {{ interpolation }} values to displayed strings.

Callers 2

toDisplayStringFunction · 0.70
replacerFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected