( uischema: UISchemaElement, data: any, path: string = undefined, ajv: Ajv, config: unknown )
| 212 | }; |
| 213 | |
| 214 | export 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 | |
| 228 | export const isEnabled = ( |
| 229 | uischema: UISchemaElement, |
no test coverage detected
searching dependent graphs…