xor method

Future<Option<T>> xor(
  1. Option<T> optb
)

Returns Some if exactly one of this, optb is Some, otherwise returns None.

Implementation

Future<Option<T>> xor(Option<T> optb) => then((v) => v.xor(optb));