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