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

Function hasShowRule

packages/core/src/util/runtime.ts:181–190  ·  view source on GitHub ↗
(uischema: UISchemaElement)

Source from the content-addressed store, hash-verified

179};
180
181export const hasShowRule = (uischema: UISchemaElement): boolean => {
182 if (
183 uischema.rule &&
184 (uischema.rule.effect === RuleEffect.SHOW ||
185 uischema.rule.effect === RuleEffect.HIDE)
186 ) {
187 return true;
188 }
189 return false;
190};
191
192export const hasEnableRule = (uischema: UISchemaElement): boolean => {
193 if (

Callers 3

mapStateToControlPropsFunction · 0.90
mapStateToLayoutPropsFunction · 0.90
mapStateToLabelPropsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…