( uischema: UISchemaElement, data: any, path: string = undefined, ajv: Ajv, config: unknown )
| 240 | }; |
| 241 | |
| 242 | export const isReadonly = ( |
| 243 | uischema: UISchemaElement, |
| 244 | data: any, |
| 245 | path: string = undefined, |
| 246 | ajv: Ajv, |
| 247 | config: unknown |
| 248 | ): boolean => { |
| 249 | if (uischema.rule) { |
| 250 | return evalReadonly(uischema, data, path, ajv, config); |
| 251 | } |
| 252 | |
| 253 | return false; |
| 254 | }; |
no test coverage detected
searching dependent graphs…