toml / 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 - A dotted key (e.g. "server.address.hostname").

Exceptions

IllegalArgumentException - If the key cannot be parsed.

Return
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 - The key path.

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