Returns the union of types in an array, but the first one, uses U as a fallback if the array is empty.
Returns the union of types in an array, but the first one, uses U as a fallback if the array is empty.