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

Function isRuleFulfilled

packages/core/src/util/runtime.ts:110–119  ·  view source on GitHub ↗
(
  uischema: UISchemaElement,
  data: any,
  path: string,
  ajv: Ajv,
  config: unknown
)

Source from the content-addressed store, hash-verified

108};
109
110const isRuleFulfilled = (
111 uischema: UISchemaElement,
112 data: any,
113 path: string,
114 ajv: Ajv,
115 config: unknown
116): boolean => {
117 const condition = uischema.rule.condition;
118 return evaluateCondition(data, uischema, condition, path, ajv, config);
119};
120
121export const evalVisibility = (
122 uischema: UISchemaElement,

Callers 3

evalVisibilityFunction · 0.85
evalEnablementFunction · 0.85
evalReadonlyFunction · 0.85

Calls 1

evaluateConditionFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…