contains

open operator override fun contains(value: UInt): Boolean(source)

Checks whether the specified value belongs to the range.

A value belongs to the closed range if it is greater than or equal to the start bound and less than or equal to the endInclusive bound.

Since Kotlin

1.5