HashSet.put

Inserts the given item into the set.

  1. bool insert(T value)
  2. alias put = insert
    struct HashSet(T, Allocator = Mallocator, alias hashFunction = generateHash!T, bool supportGC = shouldAddGCRange!T)
    alias put = insert

Return Value

true if the value was actually inserted, or false if it was already present.

Meta