Function
containsColorsDefinitions
(
descriptors: ColorsDescriptor[] | Record<string, ColorsDescriptor>
)
Source from the content-addressed store, hash-verified
| 68 | } |
| 69 | |
| 70 | function containsColorsDefinitions( |
| 71 | descriptors: ColorsDescriptor[] | Record<string, ColorsDescriptor> |
| 72 | ) { |
| 73 | let k: number | string; |
| 74 | |
| 75 | for (k in descriptors) { |
| 76 | if (descriptors[k].borderColor || descriptors[k].backgroundColor) { |
| 77 | return true; |
| 78 | } |
| 79 | } |
| 80 | |
| 81 | return false; |
| 82 | } |
| 83 | |
| 84 | function containsColorsDefinition( |
| 85 | descriptor: ColorsDescriptor |
Tested by
no test coverage detected