isFailure property

bool get isFailure

Returns true if this result is a Failure.

Implementation

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