Skip to content

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

ParameterTypeDescription
valueTokenValue<T>the token value

Returns

value is ComputedValue<T>

true if transforms are available or false if not

See

Computed Values

Defined in

packages/@theemo/tokens/src/filters/is-computed-value.ts:10