diff

fun diff(other: Levels): Float?

Returns the level difference between the current level and another level.

Return

The signed difference, 0 if the levels are equal, or null if it cannot be computed (e.g. either level is outdoor, or both are ranges).

Parameters

other

Another level.