MCPcopy Create free account
hub / github.com/alibaba/lowcode-engine / isCustomView

Function isCustomView

packages/types/src/deprecated/isCustomView.ts:8–10  ·  view source on GitHub ↗
(obj: any)

Source from the content-addressed store, hash-verified

6 * @deprecated use same function from '@alilc/lowcode-utils' instead
7 */
8export function isCustomView(obj: any): obj is IPublicTypeCustomView {
9 return obj && (isValidElement(obj) || isReactComponent(obj));
10}

Callers 6

isSetterConfigFunction · 0.90
itemsMethod · 0.50
initItemsMethod · 0.50
setupItemsMethod · 0.50
registerSetterFunction · 0.50
SettersClass · 0.50

Calls 1

isReactComponentFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…