Function: filterDuplicates() ​
filterDuplicates(
existing,updated):IEvent[]
Defined in: packages/validate-openalex/src/events/filter.ts:41
Filtre les événements en double (en se basant sur la propriété dataIntegrity) avant de les ajouter au store.
Parameters ​
existing ​
IEvent[]
Existing events in the store
updated ​
IEvent[]
New events to add
Returns ​
IEvent[]
A new array containing the updated events and the existing events that do not have the same dataIntegrity as any updated event.