isError function

bool isError(
  1. dynamic value
)

Implementation

bool isError(dynamic value) {
  return value is Error;
}