until-wp
Create an "until-wp" range ending just before a waypoint (exclusive).
Returns a range marker visible from subslide 1 up to (but not including) the waypoint's first subslide. Does not create a waypoint.
Can be composed with prev-wp / next-wp:
until-wp(prev-wp(<my-label>)) ends before the waypoint preceding <my-label>.
Combine with from-wp in an array for bounded ranges:
(from-wp(<a>), until-wp(<b>)) — visible from <a> to just before <b>.
Parameters
wp : label | dictionary
A waypoint label or a shifted reference.
Returns: dictionary