• Determines the numeric variation of a feature flag.

    If the flag variation does not have a numeric value, defaultValue is returned.

    Parameters

    • key: string

      The unique key of the feature flag.

    • defaultValue: number

      The default value of the flag, to be used if the value is not available from LaunchDarkly.

    Returns number

    The numeric value.

Generated using TypeDoc