UNPKG

@substrate/api-sidecar

Version:

REST service that makes it easy to interact with blockchain nodes built using Substrate's FRAME framework.

9 lines (8 loc) 305 B
export declare class MultiKeyBiMap<K extends string | number, V extends string | number> { private keyToValue; private valueToKeys; set(key: K, value: V): void; getByKey(key: K): V | undefined; getByValue(value: V): Set<K> | undefined; get(input: K | V): V | Set<K> | undefined; }