fun containsValue(value: T): Boolean
(source)Checks if the specified value is present in the set.
Examples:
assert(IntRangeSet(listOf(5..8, 11..16)).contains(6) == true)
assert(IntRangeSet(listOf(5..8, 11..16)).contains(9) == false)
value
- value to determine presence ofReturn
whether the value is contained within the set