get Integer Or Null
Gets an integer (TOML integer, which is Long) with index from this TomlArray. If the element does not exist, or it is not a TomlLiteral, or it cannot be converted to an integer, this returns null.
NOTE: if the original value comes from a ULong, this function also returns null, because a TOML integer is actually a signed Long, but ULong exceeds the range of it. Please use TomlLiteral.toULongOrNull instead.
Gets an integer (TOML integer, which is Long) with key from this TomlTable. If the entry does not exist, or it is not a TomlLiteral, or it cannot be converted to an integer, this returns null.
NOTE: if the original value comes from a ULong, this function also returns null, because a TOML integer is actually a signed Long, but ULong exceeds the range of it. Please use TomlLiteral.toULongOrNull instead.
Throws
if provided non-primitive key.