isError property

bool get isError

Returns true if in error state.

Implementation

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