Res<S, F>.ok constructor

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

Represents a successful result.

Implementation

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