Theemo / @theemo/tokens / isComputedValue
Function: isComputedValue()
ts
function isComputedValue<T>(value): value is ComputedValue<T>
Checks wether the token value is computed
Type Parameters
Type Parameter |
---|
T extends keyof TokenTypeRegistry |
Parameters
Parameter | Type | Description |
---|---|---|
value | TokenValue <T > | the token value |
Returns
value is ComputedValue<T>
true
if transforms are available or false
if not