contains
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.
Try the revamped Kotlin docs design →
Try the revamped Kotlin docs design!
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.