isErrAnd method

  1. @override
bool isErrAnd(
  1. bool fn(
    1. F
    )
)
override

Returns true if the result is Err and the value inside of it matches a predicate.

Implementation

@override
@pragma("vm:prefer-inline")
bool isErrAnd(bool Function(F) fn) => fn(err);