contains

operator fun contains(range: Range): Boolean

Checks if this range (bounds) contains another range. Both start and end of the bounds range must be non-null.

Return

whether this range contains range.

Parameters

range

range to check if this range contains