getIntOrNull

inline fun Cursor.getIntOrNull(index: Int): Int?(source)

Returns the value of the requested column as a nullable integer.

The result and whether this method throws an exception when the column type is not an integral type is implementation-defined.

See also