componenttools.number_is_between_prolated_start_and_stop_offsets_of_component

abjad.tools.componenttools.number_is_between_prolated_start_and_stop_offsets_of_component.number_is_between_prolated_start_and_stop_offsets_of_component(timepoint, component)[source]

New in version 2.0.

True when timepoint is within the prolated duration of component:

abjad> staff = Staff("c'8 d'8 e'8 f'8")
abjad> leaf = staff.leaves[0]
abjad> componenttools.number_is_between_prolated_start_and_stop_offsets_of_component(Duration(1, 16), leaf)
True
abjad> componenttools.number_is_between_prolated_start_and_stop_offsets_of_component(Duration(1, 12), leaf)
True

Otherwise false:

abjad> componenttools.number_is_between_prolated_start_and_stop_offsets_of_component(Duration(1, 4), leaf)
False

Return boolean.

This Page