tuweni / org.apache.tuweni.toml / TomlArray / getDouble

getDouble

open fun getDouble(index: Int): Double (source)

Get a double 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
Double: The value.