Class Dictionary<K, V>

Type Parameters

Hierarchy

  • Dictionary

Constructors

Properties

_key: any
_map: any
_value: any
Keys: {
    Address: (() => DictionaryKey<Address>);
    BigInt: ((bits: number) => DictionaryKey<bigint>);
    BigUint: ((bits: number) => DictionaryKey<bigint>);
    Buffer: ((bytes: number) => DictionaryKey<Buffer>);
    Int: ((bits: number) => DictionaryKey<number>);
    Uint: ((bits: number) => DictionaryKey<number>);
}

Type declaration

Values: {
    Address: (() => DictionaryValue<Address>);
    BigInt: ((bits: number) => DictionaryValue<bigint>);
    BigUint: ((bits: number) => DictionaryValue<bigint>);
    BigVarInt: ((bits: number) => DictionaryValue<bigint>);
    BigVarUint: ((bits: number) => DictionaryValue<bigint>);
    Bool: (() => DictionaryValue<boolean>);
    Buffer: ((bytes: number) => DictionaryValue<Buffer>);
    Cell: (() => DictionaryValue<Cell>);
    Dictionary: (<K_1, V_1>(key: DictionaryKey<K_1>, value: DictionaryValue<V_1>) => DictionaryValue<Dictionary<K_1, V_1>>);
    Int: ((bits: number) => DictionaryValue<number>);
    Uint: ((bits: number) => DictionaryValue<number>);
}

Type declaration

Accessors

  • get size(): number
  • Returns number

Methods

  • Returns IterableIterator<[K, V]>

  • Returns void

  • Parameters

    • key: K

    Returns boolean

  • Parameters

    • key: K

    Returns undefined | V

  • Parameters

    • key: K

    Returns boolean

  • Returns K[]

  • Parameters

    • key: K
    • value: V

    Returns Dictionary<K, V>

  • Returns V[]

Generated using TypeDoc