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

x/ayonli_jsext/esm/collections/CiMap.js>default

A JavaScript extension package for building strong and modern applications.
Latest
class default
extends Map
import { default } from "https://deno.land/x/ayonli_jsext@v0.9.72/esm/collections/CiMap.js";

Case-insensitive map, keys are case-insensitive.

Examples

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

Constructors

new
default(iterable?)

Properties

readonly
[Symbol.toStringTag]

Methods

delete(key)
forEach(callbackfn, thisArg)
get(key)
has(key)
set(key, value)