Extensions for kotlin.ranges.LongRange

contains

operator fun LongRange.contains(other: LongRange): Boolean

Returns true if other range is fully contained inside this range

length

val LongRange.length: Long

Length of this LongRange