Skip to content

Theemo / @theemo/tokens / isStrokeStyle

Function: isStrokeStyle()

ts
function isStrokeStyle(token): boolean

Checks whether the token is a stroke style

Parameters

ParameterTypeDescription
tokenToken<"unknown">the token

Returns

boolean

true if the token is a stroke style or false if not

Source

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