KiteCore
Toggle table of contents
0.1.0
Guide
GitHub
common
Target filter
common
Switch theme
Search in API
Skip to content
KiteCore
kitecore
/
io.github.yuroyami.kitecore.text
/
toIntOrDefault
to
Int
Or
Default
fun
String
.
toIntOrDefault
(
default
:
Int
)
:
Int
Parses this string as a decimal
Int
, returning
default
when it is not a valid integer.