Skip to content

Theemo / @theemo/tokens / isShadow

Function: isShadow()

ts
function isShadow(token): boolean

Checks whether the token is a shadow

Parameters

ParameterTypeDescription
tokenToken<"unknown">the token

Returns

boolean

true if the token is a shadow or false if not

Source

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