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

Function isVisible

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

Source from the content-addressed store, hash-verified

212};
213
214export const isVisible = (
215 uischema: UISchemaElement,
216 data: any,
217 path: string = undefined,
218 ajv: Ajv,
219 config: unknown
220): boolean => {
221 if (uischema.rule) {
222 return evalVisibility(uischema, data, path, ajv, config);
223 }
224
225 return true;
226};
227
228export const isEnabled = (
229 uischema: UISchemaElement,

Callers 1

isVisibleFunction · 0.90

Calls 1

evalVisibilityFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…