Type Alias: SymbolExpression
SymbolExpression = [
string,...unknown[]]
Defined in: spec/types.ts:221
A MapLibre expression: an operator followed by its arguments. Declared
because the adapter hands paint straight to the style — the JSON schema
types layer.paint as additionalProperties: true, so an expression both
validates and reaches text-field/text-size intact. Only these two
declarations were narrower than what the adapter already passed through.
Example
const textField: SymbolExpression = ['get', 'count'];