Skip to content

Theemo / @theemo/tokens / isStroke

Function: isStroke()

ts
function isStroke(token): boolean

Checks whether the token is a stroke

Parameters

ParameterTypeDescription
tokenToken<"unknown">the token

Returns

boolean

trueif the token is a stroke style or false if not

Defined in

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