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

    Function windUnit

    • The watch's wind unit for a wind speed unit a plugin names.

      Parameters

      • unit: string | undefined

        The unit as a plugin wrote it, such as mph, km/h, or knots.

      Returns number | undefined

      The number the watch's wind unit setting saves it as, or undefined for a unit it has none for.