Recetacollectioncollection/typestype-aliasesType Alias: Comparator()\<T\>On this pageType Alias: Comparator()<T> Comparator<T> = (a, b) => boolean Defined in: collection/types.ts:187 Comparator function for custom equality checks. Type Parameters T T The type of items being compared Parameters a T b T Returns boolean