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

Function hasEnableRule

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

Source from the content-addressed store, hash-verified

190};
191
192export const hasEnableRule = (uischema: UISchemaElement): boolean => {
193 if (
194 uischema.rule &&
195 (uischema.rule.effect === RuleEffect.ENABLE ||
196 uischema.rule.effect === RuleEffect.DISABLE)
197 ) {
198 return true;
199 }
200 return false;
201};
202
203export const hasReadonlyRule = (uischema: UISchemaElement): boolean => {
204 if (

Callers 1

isInherentlyEnabledFunction · 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…