Toml Literal
Represents literal value, which can be booleans, numbers, chars, strings.
Properties
Functions
Returns content as boolean.
Returns content as boolean only if content is "true" or "false", otherwise null.
Returns content as byte.
Returns content as byte only if content can be byte, otherwise null.
Returns content as char.
Returns content as char only if the length of content is exactly 1, otherwise null.
Returns content as double.
Returns content as double only if content can be an exact double or inf/-inf/nan, otherwise null.
Returns content as enum with given enum class context only if content suits in, otherwise null.
Returns content as float.
Returns content as float only if content can be an exact float or inf/-inf/nan, otherwise null.
Returns content as int.
Returns content as int only if content can be int, otherwise null.
Returns content as long.
Returns content as long only if content can be long, otherwise null.
Returns content as short.
Returns content as short only if content can be short, otherwise null.
Convert this to TomlArray.
Convert this to TomlLiteral.
Convert this to TomlNull.
Convert this to TomlTable.