menu
rust_core package
documentation
option.dart
SomeMethodsExtension<T extends Object>
xor method
xor method
dark_mode
light_mode
xor
method
Option
<
T
>
xor
(
Option
<
T
>
other
)
Implementation
Option<T> xor(Option<T> other) { if (other.isSome()) { return None; } return Some(v); }
rust_core package
documentation
option
SomeMethodsExtension<T extends Object>
xor method
SomeMethodsExtension extension on
Some
<
T
>