retrieveCompositionSections

fun Composition.retrieveCompositionSections(): List<Composition.SectionComponent>

Composition sections can be nested. This function retrieves all the nested composition sections and returns a flattened list of all Composition.SectionComponent for the given Composition resource