Res<S, F>.ok constructor

Res<S, F>.ok(
  1. S value
)

A Result holding the value an operation produced.

Implementation

Res.ok(S value) : this._(Success(value));