import { type BiMap } from "https://deno.land/x/rimbu@0.13.1/bimap/mod.ts";
const { NonEmpty } = BiMap;
A non-empty type-invariant immutable bi-directional Map where keys and values have a one-to-one mapping. See the BiMap documentation and the BiMap API documentation * @typeparam K - the key type
Properties
Methods
Returns the collection where the value associated with given key
is updated with the given update
value or update function.
Returns the collection where the key associated with given value
is updated with the given update
value or update function.
streamValues(): Stream.NonEmpty<V>
Returns a non-empty Stream
containing all values of this collection.