getLong

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

The result at the given index interpreted as a long. Returns 0 if the value cannot be so interpreted.

Return

a long value.

Parameters

index

the index of the required value.


expect open override fun getLong(key: String): Long(source)

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

Return

The long value.

Parameters

key

The select result key.

actual open override fun getLong(index: Int): Long(source)

Gets value at the given index as a long. 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 long value.

Parameters

index

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


actual open override fun getLong(key: String): Long(source)

Gets a property's value as a long. 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 long value.

Parameters

key

the key

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