Member Junction
    Preparing search index...
    • The items keyed by ID, for repeated lookups. When two items share an ID, the FIRST one wins — the same answer items.find(x => UUIDsEqual(x.ID, id)) would give.

      Type Parameters

      Parameters

      • items: Iterable<T>

      Returns UUIDMap<T>

      const usersByID = IndexByUUID(this.users);
      const owner = usersByID.Get(record.OwnerID);
    • The items keyed by ID, for repeated lookups. When two items share an ID, the FIRST one wins — the same answer items.find(x => UUIDsEqual(x.ID, id)) would give.

      Type Parameters

      • T

      Parameters

      Returns UUIDMap<T>

      const usersByID = IndexByUUID(this.users);
      const owner = usersByID.Get(record.OwnerID);