Skip to content

Theemo / @theemo/tokens / isStroke

Function: isStroke()

ts
function isStroke(token): boolean;

Defined in: packages/tokens/src/filters/is-stroke.ts:9

Checks whether the token is a stroke

Parameters

ParameterTypeDescription
tokenTokenthe token

Returns

boolean

trueif the token is a stroke style or false if not