isValidIndex

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

Checks if the index is valid (0 <= index

Return

true if index is valid

Parameters

index

the index to check