On this page

Type Alias ConstantExpression

type ConstantExpression = {
    _globalState: Record<string, any>;
    evaluate: (
        globals: GlobalProperties,
        feature?: Feature,
        featureState?: FeatureState,
        canonical?: ICanonicalTileID,
        availableImages?: string[],
    ) => any;
    globalStateRefs: Set<string>;
    kind: "constant";
}
Index

Properties

_globalState: Record<string, any>
evaluate: (
    globals: GlobalProperties,
    feature?: Feature,
    featureState?: FeatureState,
    canonical?: ICanonicalTileID,
    availableImages?: string[],
) => any
globalStateRefs: Set<string>
kind: "constant"
Was this helpful?
SDK JS
Reference
ConstantExpression