isFailure property

bool get isFailure

Returns true if this constitutes a failure.

Implementation

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