Pebble App Framework: Phone API
    Preparing search index...

    Function readFahrenheit

    • Reads whether the weather goes out in Fahrenheit, from the face's temperature unit select.

      The select's second choice is Fahrenheit. A unit with nothing saved takes the page's default, read by the same rule, so a default of 1, "1", or true all mean Fahrenheit.

      Parameters

      • config: Record<string, any>

        The saved settings, normally from getConfig.

      • defaults: Record<string, unknown>

        The face's config defaults.

      Returns boolean

      True for Fahrenheit, false for Celsius.