On this page

Type Alias SourceExpression

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

Properties

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