(uischema: UISchemaElement)
| 201 | }; |
| 202 | |
| 203 | export const hasReadonlyRule = (uischema: UISchemaElement): boolean => { |
| 204 | if ( |
| 205 | uischema.rule && |
| 206 | (uischema.rule.effect === RuleEffect.READONLY || |
| 207 | uischema.rule.effect === RuleEffect.WRITABLE) |
| 208 | ) { |
| 209 | return true; |
| 210 | } |
| 211 | return false; |
| 212 | }; |
| 213 | |
| 214 | export const isVisible = ( |
| 215 | uischema: UISchemaElement, |
no outgoing calls
no test coverage detected
searching dependent graphs…