tuweni / org.apache.tuweni.toml / TomlArray / getArray

getArray

open fun getArray(index: Int): TomlArray! (source)

Get an array 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 an array.

Return
TomlArray!: The value.