getBoolean

abstract fun getBoolean(@IntRange(from = 0) index: Int): Boolean

Returns the value of the requested column at the given zero-based index as a Boolean.

Boolean reading from the column depends upon the underlying KQLiteDriver provided. Use isNull to check if stored value is NULL.

Return

The value of the column as a Boolean.

Parameters

index

The zero-based index of the column.

See also

Throws

if the index is out of bounds or the column is not an integer type.