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

    Function temperatureScale

    • Whether a temperature unit is °C, °F, or neither.

      Parameters

      • unit: string | undefined

        The unit as a plugin wrote it, such as °C, F, or celsius.

      Returns "C" | "F" | undefined

      C, F, or undefined for a unit that is neither.