tuweni / org.apache.tuweni.toml / TomlArray / getBoolean

getBoolean

open fun getBoolean(index: Int): Boolean (source)

Get a boolean at a specified index.

Parameters

index - Int: The array index.

Exceptions

IndexOutOfBoundsException - If the index is out of bounds.

TomlInvalidTypeException - If the value is not a long.

Return
Boolean: The value.