Ok<T> constructor

const Ok<T>(
  1. T value
)

Creates an instance of Result containing a value

Implementation

const Ok(this.value);