* True when the value is a FontValue or ImageValue object * (object-valued; must NOT be written as a CSS custom property).
( value: string | number | boolean | FontValue | ImageValue, )
| 809 | * (object-valued; must NOT be written as a CSS custom property). |
| 810 | */ |
| 811 | function isObjectVariableValue( |
| 812 | value: string | number | boolean | FontValue | ImageValue, |
| 813 | ): value is FontValue | ImageValue { |
| 814 | return typeof value === "object" && value !== null && !Array.isArray(value); |
| 815 | } |
| 816 | |
| 817 | function handleSetVariableValue( |
| 818 | parsed: ParsedDocument, |
no outgoing calls
no test coverage detected