import { IndexRange } from "https://deno.land/x/rimbu@1.2.0/core/mod.ts";
const { getIndexRangeIndices } = IndexRange;
Returns, given the range
IndexRange
, a normalized tuple containing the
start index, and optionally an end index.
Parameters
range: IndexRange
- the
IndexRange
to use