MCPcopy Create free account
hub / github.com/eclipsesource/jsonforms / isControl

Function isControl

packages/core/src/testers/testers.ts:89–90  ·  view source on GitHub ↗
(uischema: any)

Source from the content-addressed store, hash-verified

87) => number;
88
89export const isControl = (uischema: any): uischema is ControlElement =>
90 !isEmpty(uischema) && uischema.scope !== undefined;
91
92/**
93 * Only applicable for Controls.

Callers 10

constructorMethod · 0.90
componentWillUnmountMethod · 0.90
componentDidUpdateMethod · 0.90
updateMethod · 0.90
isMixedControlFunction · 0.90
useControlFunction · 0.90
schemaMatchesFunction · 0.85
schemaSubPathMatchesFunction · 0.85
scopeEndsWithFunction · 0.85
scopeEndIsFunction · 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…