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

x/polkadot/types-codec/bundle.ts>BTreeMap.with

Package publishing for deno.land/x/polkadot
Go to Latest
method BTreeMap.with
import { BTreeMap } from "https://deno.land/x/polkadot@0.2.14/types-codec/bundle.ts";

Type Parameters

K extends Codec
V extends Codec

Parameters

keyType: CodecClass<K> | string
valType: CodecClass<V> | string

Returns

CodecClass<CodecMap<K, V>>