Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/rimbu/collection-types/main/index.ts>VariantMap

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
namespace VariantMap
import { VariantMap } from "https://deno.land/x/rimbu@0.13.0/collection-types/main/index.ts";

Interfaces

A non-empty type-variant Map of key type K, and value type V. In the Map, each key has exactly one value, and the Map cannot contain duplicate keys. See the Map documentation and the VariantMap API documentation

Utility interface that provides higher-kinded types for this collection.

interface VariantMap
import { type VariantMap } from "https://deno.land/x/rimbu@0.13.0/collection-types/main/index.ts";

A type-variant immutable Map of key type K, and value type V. In the Map, each key has exactly one value, and the Map cannot contain duplicate keys. See the Map documentation and the VariantMap API documentation