unwrapOr abstract method

T unwrapOr(
  1. T opt
)

Unwraps a result, yielding the content of an Ok. Else, it returns opt.

Implementation

T unwrapOr(T opt);