Class IntExtensionsKt
-
- All Implemented Interfaces:
public final class IntExtensionsKt
-
-
Method Summary
-
-
Method Detail
-
limitTo
@Deprecated(message = "This function is deprecated and will be removed in the future. Use `kotlin.ranges.coerceIn` instead.", replaceWith = @ReplaceWith(expression = "this.coerceIn(min, max)")) final static Integer limitTo(Integer $self, Integer min, Integer max)
Limits the integer value to the given range.
- Parameters:
min- The minimum value.max- The maximum value.
-
-
-
-