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

x/polkadot/types-codec/mod.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.19/types-codec/mod.ts";

Type Parameters

K extends Codec
V extends Codec

Parameters

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

Returns

CodecClass<CodecMap<K, V>>