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

    Function validCoords

    • Whether a place's coordinates are real ones. Open-Meteo refuses a whole request when one place's are out of range, so a reading asks for no place that fails this.

      Parameters

      • coords: WeatherCoords | null | undefined

        The place's coordinates, or nothing.

      Returns coords is WeatherCoords

      True for a latitude and longitude in range.