Theemo / @theemo/figma / isTokenByStyle
Function: isTokenByStyle()
ts
function isTokenByStyle(style): booleanDefault 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