tomlkt
0.3.7
common
tomlkt
/
net.peanuuutz.tomlkt
/
toIntOrNull
to
Int
Or
Null
fun
TomlLiteral
.
toIntOrNull
(
)
:
Int
?
(
source
)
Returns
content
as
Int
only if it can be
Int
, otherwise
null
.