(expected: string)
| 248 | */ |
| 249 | export 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. |
no test coverage detected
searching dependent graphs…