component2

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

Returns the longitude of this Location.

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

val (lat, lon) = myLocation