getFloatOrNull

Gets a float (TOML float, which is Double) with index from this TomlArray. If the element does not exist, or it is not a TomlLiteral, or it cannot be converted to a float, this returns null.


Gets a float (TOML float, which is Double) with key from this TomlTable. If the entry does not exist, or it is not a TomlLiteral, or it cannot be converted to a float, this returns null.

Throws

NonPrimitiveKeyException

if provided non-primitive key.