getInt

actual open override fun getInt(index: Int): Int(source)
actual open override fun getInt(key: String): Int(source)
expect open override fun getInt(index: Int): Int(source)

The result at the given index interpreted as and an int. Returns 0 if the value cannot be so interpreted.

Return

an int value.

Parameters

index

the index of the required value.


expect open override fun getInt(key: String): Int(source)

The result value for the given key as an int Returns 0 if the key doesn't exist or if the value is not a int

Return

The integer value.

Parameters

key

The select result key.

actual open override fun getInt(index: Int): Int(source)

Gets value at the given index as an int. Floating point values will be rounded. The value true is returned as 1, false as 0. Returns 0 if the value doesn't exist or does not have a numeric value.

Return

the int value.

Parameters

index

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


actual open override fun getInt(key: String): Int(source)

Gets a property's value as an int. Floating point values will be rounded. The value true is returned as 1, false as 0. Returns 0 if the value doesn't exist or does not have a numeric value.

Return

the int value.

Parameters

key

the key

actual open override fun getInt(index: Int): Int(source)
actual open override fun getInt(key: String): Int(source)