component1

inline operator fun Location.component1(): Double(source)

Returns the latitude of this Location.

This method allows to use destructuring declarations when working with Location, for example:

val (lat, lon) = myLocation