@launchdarkly/fastly-server-sdk - v0.2.41
    Preparing search index...

    Interface LDEvaluationDetailTyped<TFlag>

    interface LDEvaluationDetailTyped<TFlag> {
        reason: LDEvaluationReason;
        value: TFlag;
        variationIndex?: number | null;
    }

    Type Parameters

    • TFlag
    Index

    An object describing the main factor that influenced the flag evaluation value.

    value: TFlag

    The result of the flag evaluation. This will be either one of the flag's variations or the default value that was passed to LDClient.variationDetail.

    variationIndex?: number | null

    The index of the returned value within the flag's list of variations, e.g. 0 for the first variation-- or null if the default value was returned.