isNull

abstract fun isNull(column: KQLiteColumn<*>): Boolean

Checks if the value of the requested column is NULL in the current row.

This method provides a type-safe way to determine if a column's value is NULL using the KQLiteColumn object.

Return

true if the value of the specified column is null, false otherwise.

Author

MOHAMMAD AZIM ANSARI

Parameters

column

The KQLiteColumn to check.

Throws

if the column is not found in the cursor.


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

Checks if the value of the requested column at the given zero-based index is NULL in the current row.

Return

true if the value of the column at the specified index is null, false otherwise.

Parameters

index

The zero-based index of the column to check.

Throws

if the column index is out of bounds.