New in version 1.1.
True when elements in expr are all contiguous components. Otherwise false:
abjad> staff = Staff("c'8 d'8 e'8")
abjad> componenttools.all_are_contiguous_components(staff.leaves)
True
True when elements in expr are all contiguous klasses. Otherwise false:
abjad> staff = Staff("c'8 d'8 e'8")
abjad> componenttools.all_are_contiguous_components(staff.leaves, klasses = Note)
True
Return boolean.