Combines an array of Options into a single Option of an array. If any Option in the list is 'none', the result is a 'none' Option. Otherwise, it returns a 'some' Option containing an array of all unwrapped values.
An array of Options.
An Option containing an array of values, or a 'none' Option.
Combines an array of Options into a single Option of an array. If any Option in the list is 'none', the result is a 'none' Option. Otherwise, it returns a 'some' Option containing an array of all unwrapped values.