isNotFalse method

bool isNotFalse()

Checks if the boolean value is not false.

Returns true if the value is not false, otherwise returns false.

Example:

bool? value = true;
print(value.isNotFalse()); // true

Implementation

bool isNotFalse() => validate().isNotFalse();