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

Function hasReadonlyRule

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

Source from the content-addressed store, hash-verified

201};
202
203export const hasReadonlyRule = (uischema: UISchemaElement): boolean => {
204 if (
205 uischema.rule &&
206 (uischema.rule.effect === RuleEffect.READONLY ||
207 uischema.rule.effect === RuleEffect.WRITABLE)
208 ) {
209 return true;
210 }
211 return false;
212};
213
214export const isVisible = (
215 uischema: UISchemaElement,

Callers 2

runtime.test.tsFile · 0.90
isInherentlyReadonlyFunction · 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…