isFailure method

bool isFailure()

Returns true if this is a Failure.

Implementation

bool isFailure() => this is Failure<L, R>;