Skip to content

ok

In std/result.

fn ok(self) : Option<T>

The value of self when a success, and none when a failure: err("x") | ok is none.