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

Function isClassComponent

packages/runtime-core/src/component.ts:1262–1264  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

1260}
1261
1262export function isClassComponent(value: unknown): value is ClassComponent {
1263 return isFunction(value) && '__vccOpts' in value
1264}
1265
1266export interface ComponentCustomElementInterface {
1267 /**

Callers 2

normalizeClassComponentFunction · 0.90
_createVNodeFunction · 0.90

Calls 1

isFunctionFunction · 0.90

Tested by

no test coverage detected