isFailed property

bool get isFailed

Check if is failed

Implementation

bool get isFailed => this is FailedState<T, E>;