OptionRecord2Extension<T, U> extension

on

Methods

unzip() → (Option<T>, Option<U>)
Unzips an option containing a tuple of two options. If self is Some((a, b)) this method returns (Some(a), Some(b)). Otherwise, (None, None) is returned.