isOk method

bool isOk()

Returns whether or not this Result is Ok.

See also: Rust: Result::is_ok()

Implementation

bool isOk() => switch (this) {
	Ok() => true,
	Err() => false,
};