import { type Sorted } from "https://deno.land/x/rimbu@0.13.1/core/menu/map/index.ts";
const { Builder } = Sorted;
A mutable SortedMap
builder used to efficiently create new immutable instances.
See the Map documentation and the SortedMap.Builder API documentation
Methods
Returns the entry with the minimum key of the SortedMap Builder, or a fallback value (default: undefined) if the builder is empty.
Returns the entry with the maximum key of the SortedMap Builder, or a fallback value (default: undefined) if the builder is empty.