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