Beignet API reference
    Preparing search index...

    Type Alias FlagEvaluationOptions<TValue>

    Options accepted by flag evaluations.

    type FlagEvaluationOptions<TValue extends FlagValue = FlagValue> = {
        context?: FlagEvaluationContext;
        defaultValue?: TValue;
        expose?: boolean;
    }

    Type Parameters

    Index
    defaultValue?: TValue

    Override the flag declaration default for this call.

    expose?: boolean

    Explicitly record an exposure after evaluation succeeds. Plain evaluation does not record exposure by default.