coerceAtMost
Source set: Common
public inline fun Dp.coerceAtMost(maximumValue: Dp): Dp
Ensures that this value is not greater than the specified maximumValue.
Return
this value if it's less than or equal to the maximumValue or the maximumValue otherwise.