Function isGradient
isGradient(
value):value is GradientColor
Utility type to check if a value is any gradient.
Parameters
| Parameter | Type | Description |
|---|---|---|
value | any | The value to check |
Returns
value is GradientColor
True if the value is a gradient
isGradient(
value):value is GradientColor
Utility type to check if a value is any gradient.
| Parameter | Type | Description |
|---|---|---|
value | any | The value to check |
value is GradientColor
True if the value is a gradient