offset_happens_when_timespan_stops

timespantools.offset_happens_when_timespan_stops(timespan=None, offset=None, hold=False)

Makes time relation indicating that offset happens when timespan stops.

>>> import abjad
>>> relation = abjad.timespantools.offset_happens_when_timespan_stops()
>>> f(relation)
abjad.OffsetTimespanTimeRelation(
    inequality=abjad.CompoundInequality(
        [
            abjad.TimespanInequality('offset == timespan.stop'),
            ],
        logical_operator='and',
        ),
    )

Returns time relation or boolean.