Is there a collapse all function in the Gantt chart?

Is there a collapse all function in the Gantt chart?

Not at the moment.