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

x/rimbu/multiset/custom/interface/base.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.2.0/multiset/custom/interface/base.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.