export function every( set: Set, predicate: (element: T) => boolean ): boolean { return Array.from(set).every(predicate); }