Transposes an array of options into an optional array,
analagous to how Promise.all() transposes
an array of promises into promised array.
If every option is some, this method returns Option.some(arr)
where arr is an array of the unwrapped Options.
Otherwise, this method returns Option.none().
Transposes an array of options into an optional array,
analagous to how Promise.all() transposes
an array of promises into promised array.
If every option is some, this method returns Option.some(arr)
where arr is an array of the unwrapped Options.
Otherwise, this method returns Option.none().
Transposes an array of options into an optional array, analagous to how
Promise.all()transposes an array of promises into promised array.If every option is
some, this method returnsOption.some(arr)wherearris an array of the unwrappedOptions. Otherwise, this method returnsOption.none().