Theemo / @theemo/figma / isTokenByStyle
Function: isTokenByStyle()
ts
function isTokenByStyle(style): boolean
Default implementation for isTokenByStyle()
Mimics Figma's behavior on handling styles beginning with a .
Parameters
Parameter | Type | Description |
---|---|---|
style | Style | Figma Style |
Returns
boolean
false
when style starts with a .
, otherwise true