(color: RGB, opacity: number = 1)
| 144 | * Checks if color is white |
| 145 | */ |
| 146 | export const isWhite = (color: RGB, opacity: number = 1): boolean => |
| 147 | color.r === 1 && color.g === 1 && color.b === 1 && opacity === 1; |
| 148 | |
| 149 | /** |
| 150 | * Helper for calculating gradient stops in a consistent way across frameworks |
nothing calls this directly
no outgoing calls
no test coverage detected