For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.
Class DataConstantProperty<T>
Type Parameters
- T
Implements
Index
Constructors
constructor
- new DataConstantProperty<T>(
specification: StylePropertySpecification,
name: string,
): DataConstantProperty<T>Type Parameters
- T
Parameters
- specification: StylePropertySpecification
- name: string
Returns DataConstantProperty<T>
Methods
interpolate
possiblyEvaluate
Parameters
- value: PropertyValue<T, T>
- parameters: EvaluationParameters
Returns T
Internal
An implementation of
Propertyfor properties that do not permit data-driven (source or composite) expressions. This restriction allows us to declare statically that the result of possibly evaluating this kind of property is in fact always the scalar typeT, and can be used without further evaluating the value on a per-feature basis.