isFailure property

bool get isFailure

Returns true if the result is a Failure.

Implementation

bool get isFailure => this is Failure<T, E>;