isError method

bool isError()

Implementation

bool isError() => (this is ErrorState<L, R>);