Class Dictionary<K, V>

Type Parameters

  • K

  • V

Hierarchy

  • Dictionary

Constructors

  • Type Parameters

    • K

    • V

    Returns Dictionary<K, V>

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>

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Returns V[]

  • Low level method for rare dictionaries from system contracts. Loads dictionary from slice directly without going to the ref.

    Returns

    Dictionary<K, V>

    Type Parameters

    • K

    • V

    Parameters

    Returns Dictionary<K, V>

Generated using TypeDoc