tuweni / org.apache.tuweni.toml / TomlTable / isString

isString

open fun isString(dottedKey: String!): Boolean (source)

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

Parameters

dottedKey - String!: A dotted key (e.g. "server.address.hostname").

Exceptions

IllegalArgumentException - If the key cannot be parsed.

Return
Boolean: true if the value can be obtained as a string.

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

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

Parameters

path - MutableList<String!>!: The key path.

Return
Boolean: true if the value can be obtained as a string.