tomlkt
0.2.0
common
tomlkt
/
net.peanuuutz.tomlkt
/
toBooleanOrNull
to
Boolean
Or
Null
fun
TomlLiteral
.
toBooleanOrNull
(
)
:
Boolean
?
(
source
)
Returns content as boolean only if content is "true" or "false", otherwise null.