boolean method Null safety
- Object nameOrIndex
override
Returns the column at the given nameOrIndex
as a bool.
Returns a default value (integer: 0
, double: 0.0
, boolean: false
)
if the column is not of the expected type or is null
.
Throws a RangeError if the nameOrIndex
is ouf of range.
Implementation
bool boolean(Object nameOrIndex);