Skip to content

Theemo / @theemo/figma / isTokenByStyle

Function: isTokenByStyle() ​

ts
function isTokenByStyle(style): boolean;

Defined in: figma/src/defaults.ts:47

Default implementation for `isTokenByStyle()`

Mimics Figma's behavior on handling styles beginning with a .

Parameters ​

ParameterTypeDescription
styleStyleFigma Style

Returns ​

boolean

false when style starts with a ., otherwise true

See ​

Documentation