/**
* Returns `true` only if all values in the `HashSet` match the specified
* predicate.
*
* @tsplus static HashSet.Aspects every
* @tsplus pipeable HashSet every
*/
export function every(f: Predicate) {
return (self: HashSet): boolean => !self.some((a) => !f(a))
}