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