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

x/rimbu/collection-types/set-custom/interface/base.ts>RSetBase.Context

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

Properties

readonly
_fixedElementType: (element: UT) => never
readonly
typeTag: string

A string tag defining the specific collection type

readonly
_types: Tp

Methods

isValidValue(value: any): value is UT

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