isSome method
Returns whether or not this Option
holds a value (Some).
See also:
Rust: Option::is_some()
Implementation
bool isSome() => switch (this) {
Some() => true,
None() => false
};
Returns whether or not this Option
holds a value (Some).
See also:
Rust: Option::is_some()
bool isSome() => switch (this) {
Some() => true,
None() => false
};