Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/rimbu/multiset/custom/index.ts>MultiSetBase.Context

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
interface MultiSetBase.Context
implements [MultiSetBase.Factory]<Tp, UT>
import { type MultiSetBase } from "https://deno.land/x/rimbu@1.0.2/multiset/custom/index.ts";
const { Context } = MultiSetBase;

Properties

readonly
typeTag: string

A string tag defining the specific collection type

readonly
_types: Tp
readonly
countMapContext: WithElem<Tp, UT>["countMapContext"]

The context used for the internal countMap instances.

Methods

isValidElem(key: any): key is UT

Returns true if given obj could be a valid key in this Context.