getNumber

abstract fun getNumber(index: Int): Number?(source)

Gets value at the given index as a Number. Returns null if the value doesn't exist, or its value is not a Number.

Return

the Number or null.

Parameters

index

the index. This value must not exceed the bounds of the array.