@Nullable open fun getArray(dottedKey: String): TomlArray?
(source)
Get an array from the TOML document.
dottedKey
- A dotted key (e.g. "server.addresses"
).
IllegalArgumentException
- If the key cannot be parsed.
TomlInvalidTypeException
- If the value is present but not an array, or any element of the path preceding the final key is not a table.
Return
The value, or null
if no value was set in the TOML document.
@Nullable open fun getArray(path: MutableList<String>): TomlArray?
(source)
Get an array from the TOML document.
TomlInvalidTypeException
- If the value is present but not an array, or any element of the path preceding the final key is not a table.
Return
The value, or null
if no value was set in the TOML document.