@launchdarkly/vue-client-sdk - v3.0.13
    Preparing search index...

    Function useBoolVariationDetail

    • Reactively evaluates a boolean feature flag and exposes the full evaluation detail (value, variationIndex, reason). Reasons are populated only when withReasons is enabled.

      Parameters

      • key: MaybeRefOrGetter<string>

        the feature flag key (plain, ref, or getter)

      • defaultValue: boolean

        value returned while the flag loads or if it cannot be evaluated

      • OptionalinjectionKey: InjectionKey<LDVueInstance>

        optional injection key for multiple environments

      Returns Readonly<Ref<LDEvaluationDetailTyped<boolean>>>