tomlkt
0.2.0
common
tomlkt
/
net.peanuuutz.tomlkt
/
toDoubleOrNull
to
Double
Or
Null
fun
TomlLiteral
.
toDoubleOrNull
(
)
:
Double
?
(
source
)
Returns content as double only if content can be an exact double or inf/-inf/nan, otherwise null.