@launchdarkly/js-server-sdk-common - v2.26.1
    Preparing search index...

    Interface LDContextCommon

    Common attributes shared by the various context types.

    interface LDContextCommon {
        _meta?: LDContextMeta;
        anonymous?: boolean;
        key: string;
        name?: string;
        [attribute: string]: any;
    }

    Hierarchy (View Summary)

    Indexable

    • [attribute: string]: any

      Any additional attributes associated with the context.

    Index

    Meta attributes are used to control behavioral aspects of the Context, such as private private attributes. See LDContextMeta.privateAttributes as an example.

    They cannot be addressed in targeting rules.

    anonymous?: boolean

    If true, the context will not appear on the Contexts page in the LaunchDarkly dashboard.

    key: string

    A unique string identifying a context.

    name?: string

    The context's name.

    You can search for contexts on the Contexts page by name.