MCPcopy Create free account
hub / github.com/UI5/webcomponents / isUI5ElementClass

Function isUI5ElementClass

packages/base/src/jsx-utils.ts:34–36  ·  view source on GitHub ↗
(type: string | typeof UI5Element)

Source from the content-addressed store, hash-verified

32}
33
34export function isUI5ElementClass(type: string | typeof UI5Element): type is typeof UI5Element {
35 return typeof type === "function" && "getMetadata" in type;
36}
37
38export function preprocess(type: string | typeof UI5Element, props: Record<string, any>, key: string) {
39 let tag: string;

Callers 2

checkAttributeUsageFunction · 0.90
preprocessFunction · 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…