A utility function to deep flatten an array of objects.
The type of elements in the input array.
The input array to be deep flattened.
A utility function to deep flatten an array of objects.