coerceAtLeast

Function

Common
inline fun Dp.coerceAtLeast(minimumValue: Dp): Dp

Ensures that this value is not less than the specified minimumValue.

Returns

this value if it's greater than or equal to the minimumValue or the minimumValue otherwise.