isOkAnd abstract method

bool isOkAnd(
  1. bool fn(
    1. S
    )
)

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

Implementation

bool isOkAnd(bool Function(S) fn);