contains

abstract operator fun contains(value: T): Boolean(source)

Tests whether value belongs to this range.

Return

true if value is within the inclusive bounds.

Parameters

value

the value to test against both bounds.