Setu-TS
    Preparing search index...

    Interface LaunchDarklyContext

    The LaunchDarkly evaluation context.

    The SDK accepts a rich multi-kind context; the provider only ever builds the single-kind user shape, so the facade declares exactly that rather than re-exporting the SDK's own union.

    0.2.0

    interface LaunchDarklyContext {
        anonymous?: boolean;
        key: string;
        kind: "user";
        readonly [attribute: string]: string | number | boolean | undefined;
    }

    Indexable

    • readonly [attribute: string]: string | number | boolean | undefined

      Targeting attributes copied from the FlagContext.

    Index
    anonymous?: boolean

    True when no userId was supplied.

    key: string

    The context key; the anonymous key when no userId was supplied.

    kind: "user"

    Context kind — always 'user' for the contexts this provider builds.