contains

fun contains(value: UShort): Boolean

Checks if the given value is within the range.

Return

true if the value is in the range and false otherwise.

Parameters

value

Value to be checked.


fun contains(other: Range): Boolean

Checks if the given value is contained within the range.

Return

true if the value is in the range and false otherwise.

Parameters

other

Range to be checked.