Skip to content

Theemo / @theemo/tokens / isTypography

Function: isTypography()

ts
function isTypography(token): boolean

Checks whether the token is a typography

Parameters

ParameterTypeDescription
tokenToken<"unknown">the token

Returns

boolean

true if the token is a typography or false if not

Source

packages/@theemo/tokens/src/filters/is-typography.ts:9