Member Junction
    Preparing search index...
    • How many items share each ID. Look a count up with .Get(id) ?? 0; any casing works.

      Type Parameters

      Parameters

      • items: Iterable<T>

      Returns UUIDMap<number>

      const perEntity = CountByUUID(relationships, r => r.RelatedEntityID);
      const shared = (perEntity.Get(rel.RelatedEntityID) ?? 0) > 1;
    • How many items share each ID. Look a count up with .Get(id) ?? 0; any casing works.

      Type Parameters

      • T

      Parameters

      Returns UUIDMap<number>

      const perEntity = CountByUUID(relationships, r => r.RelatedEntityID);
      const shared = (perEntity.Get(rel.RelatedEntityID) ?? 0) > 1;