api / tv.twelvetone.json / JsonArray / remove

remove

fun remove(index: Int): JsonArray

Removes the element at the specified index from this array.

Parameters

index - the index of the element to remove

Exceptions

IndexOutOfBoundsException - if the index is out of range, i.e. index < 0 or index >= size

Return
the array itself, to enable method chaining