open fun getArrayOrEmpty(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 an empty list if no list was set in the TOML document.
open fun getArrayOrEmpty(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 an empty list if no list was set in the TOML document.