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>MultiSetEmpty#setCount

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
method MultiSetEmpty.prototype.setCount
import { MultiSetEmpty } from "https://deno.land/x/rimbu@1.0.0/multiset/custom/index.ts";

Parameters

elem: T
amount: number

Returns

WithElem<Tp, T>["normal"]