okOr<E extends Object> method

Ok<T, Never> okOr<E extends Object>(
  1. E err
)

Implementation

Ok<T, Infallible> okOr<E extends Object>(E err) {
  return Ok(v);
}