export type TInsertElementInSetFunction = ( set: Set, element: T, predicate: (element: T) => boolean, ignoreDuplicates: boolean ) => boolean;