@Nullable open fun getArray(dottedKey: String!): TomlArray?
(source)
Get an array from the TOML document.
dottedKey
- String!: 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
TomlArray?: 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.
path
- MutableList<String!>!: The key path.
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
TomlArray?: The value, or null
if no value was set in the TOML document.