Theemo / @theemo/tokens / isGradient
Function: isGradient()
ts
function isGradient(token): boolean;Defined in: packages/tokens/src/filters/is-gradient.ts:9
Checks whether the token is a gradient
Parameters
| Parameter | Type | Description |
|---|---|---|
token | Token | the token |
Returns
boolean
true if the token is a gradient or false if not