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

Function isVNode

packages/runtime-core/src/vnode.ts:388–390  ·  view source on GitHub ↗
(value: any)

Source from the content-addressed store, hash-verified

386}
387
388export function isVNode(value: any): value is VNode {
389 return value ? value.__v_isVNode === true : false
390}
391
392export function isSameVNodeType(n1: VNode, n2: VNode): boolean {
393 if (__DEV__ && n2.shapeFlag & ShapeFlags.COMPONENT && n1.component) {

Callers 12

filterSingleRootFunction · 0.90
hFunction · 0.90
handleSetupResultFunction · 0.90
setupFunction · 0.90
compatHFunction · 0.90
convertLegacySlotsFunction · 0.90
ensureValidVNodeFunction · 0.90
renderToSimpleStreamFunction · 0.85
renderToStringFunction · 0.85
_createVNodeFunction · 0.85
normalizeVNodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected