unwrap_or¶
In std/result.
fn unwrap_or(self, default: T) : T
The value of self when a success, and default when a failure:
err("x") | unwrap_or(0) is 0.
unwrap_or¶In std/result.
fn unwrap_or(self, default: T) : T
The value of self when a success, and default when a failure:
err("x") | unwrap_or(0) is 0.