HashTable.set

Adds a new entry, with the given name and value, to the table

  1. bool set(string key, T value)
    struct HashTable
    bool
    set
    (
    T
    )
    (
    string key
    ,)
  2. bool set(string key, EntryValue value)

Parameters

key string

The name of the entry

value T

The raw value of the entry

Return Value

Type: bool

A bool indicating whether or not the entry is new or already exists

Meta