tuweni / org.apache.tuweni.toml / TomlTable / isArray

isArray

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

Check if a value in the TOML document is an array.

Parameters

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

Exceptions

IllegalArgumentException - If the key cannot be parsed.

Return
true if the value can be obtained as an array.

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

Check if a value in the TOML document is an array.

Parameters

path - The key path.

Return
true if the value can be obtained as an array.