isOk method
Returns whether or not this Result
is Ok.
See also:
Rust: Result::is_ok()
Implementation
bool isOk() => switch (this) {
Ok() => true,
Err() => false,
};
Returns whether or not this Result
is Ok.
See also:
Rust: Result::is_ok()
bool isOk() => switch (this) {
Ok() => true,
Err() => false,
};