ComparableCoerceInExtension<T extends Comparable<T> > extension
- on
-
- T
Methods
-
coerceIn(
T minimumValue, [T? maximumValue]) → T -
Ensures that this value lies in the specified range
minimumValue
..maximumValue
.