LocationExtension

Contains everything that could be useful to work with locations.

Author

MarkusTieger

Since

0.2.0

Functions

Link copied to clipboard
fun Location.isInBounds(from: Location, to: Location): Boolean

Checks if the location is inside the area.

Link copied to clipboard
fun validate(from: Location, to: Location)

Checks if the area is valid.