Buy me a coffee
Kotlin
›
숫자
›
coerceIn
coerceIn
숫자
값을 min~max 범위로 제한합니다.
문법
value.coerceIn(min, max)