getIntOrNull

abstract fun getIntOrNull(index: Int): Int?

安全地获取指定索引处的 Int 值。

Return

对应的 Int 值;如果索引越界或值的类型不匹配,则返回 null

Parameters

index

元素的索引。