import { CiMap } from "https://deno.land/x/ayonli_jsext@v0.9.72/esm/collections.js";
Case-insensitive map, keys are case-insensitive.
Examples
Example 1
Example 1
import { CiMap } from "@ayonli/jsext/collections";
const map = new CiMap<string, string>();
map.set("foo", "hello");
map.set("bar", "world");
console.log(map.get("FOO")); // hello
console.log(map.has("BAR")); // true