Onyx Android SDK Kotlin API
Toggle table of contents
0.0.2
release
Target filter
release
Switch theme
Search in API
Skip to content
Onyx Android SDK Kotlin API
onyxsdk-baselite
/
com.onyx.android.sdk.base.lite.utils
/
MathUtils
/
clamp
clamp
fun
clamp
(
value
:
Int
,
min
:
Int
,
max
:
Int
)
:
Int
(
source
)
Returns
value
constrained to the inclusive range from
min
to
max
.