Pacote
    Preparing search index...

    Function or

    • Disjunction of two results.

      Type Parameters

      • T
      • E

      Parameters

      • alternative: Result<T, E>

        Alternative result.

      • result: Result<T, E>

        Result to evaluate.

      Returns Result<T, E>

      Result if it is Ok, otherwise returns the alternative.