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 - String!: A dotted key (e.g. "server.addresses").

Exceptions

IllegalArgumentException - If the key cannot be parsed.

Return
Boolean: 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 - MutableList<String!>!: The key path.

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