contains
Checks whether the specified value belongs to the range.
A value belongs to the open-ended range if it is greater than or equal to the start bound and strictly less than the endExclusive bound.
Try the revamped Kotlin docs design →
Try the revamped Kotlin docs design!