explicit_ranges

function of dascore.utils.explicit_ranges source

explicit_ranges(
    value ,
)-> ‘ExplicitRanges | None’

Return validated window rows, or None for an existing input form.

An open end is None; an infinity opens its own side, so a row holding one keeps its other bound on the far side. Bounds are left in the order given, which _absolute_bounds swaps where reversed.