@launchdarkly/react-native-client-sdk - v10.23.6
    Preparing search index...

    Function useStringVariation

    • Determines the string variation of a feature flag.

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

      Parameters

      • key: string

        The unique key of the feature flag.

      • defaultValue: string

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

      Returns string

      The string value.