Skip to content

The open alternative to Salesforce, designed for AI.

288 B
Raw Blame
export const createIdToUniversalIdentifierMap = (
  entities: { id: string; universalIdentifier: string }[],
): Map<string, string> => {
  const map = new Map<string, string>();

  for (const entity of entities) {
    map.set(entity.id, entity.universalIdentifier);
  }

  return map;
};