unwrap method

T unwrap()

Unwrap the value or throw an error if it's Err.

Implementation

T unwrap() {
  return ok.value;
}