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

Function scopeEndsWith

packages/core/src/testers/testers.ts:250–257  ·  view source on GitHub ↗
(expected: string)

Source from the content-addressed store, hash-verified

248 */
249export const scopeEndsWith =
250 (expected: string): Tester =>
251 (uischema: UISchemaElement): boolean => {
252 if (isEmpty(expected) || !isControl(uischema)) {
253 return false;
254 }
255
256 return endsWith(uischema.scope, expected);
257 };
258
259/**
260 * Only applicable for Controls.

Callers 2

testers.test.tsFile · 0.90
index.tsFile · 0.90

Calls 1

isControlFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…