• Determines the boolean variation of a feature flag.

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

    Parameters

    • key: string

      The unique key of the feature flag.

    • defaultValue: boolean

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

    Returns boolean

    The boolean value.

Generated using TypeDoc