unwrap


Description:

public T unwrap ()

Returns the success value. Returns null if this is an error.

Example:

    var r = Result.ok<string,string> ("data");
assert (r.unwrap () == "data");

Returns:

the success value, or null if error.