tuweni / org.apache.tuweni.toml / TomlTable / isTable

isTable

open fun isTable(dottedKey: String): Boolean (source)

Check if a value in the TOML document is a table.

Parameters

dottedKey - A dotted key (e.g. "server.address").

Exceptions

IllegalArgumentException - If the key cannot be parsed.

Return
true if the value can be obtained as a table.

open fun isTable(path: MutableList<String>): Boolean (source)

Check if a value in the TOML document is a table.

Parameters

path - The key path.

Return
true if the value can be obtained as a table.