import { realHashSet } from "@tsplus/stdlib/collections/HashSet/_internal/hashSet"
/**
* Checks if the specified value exists in the `HashSet`.
*
* @tsplus static HashSet.Aspects has
* @tsplus pipeable HashSet has
*/
export function has(value: A) {
return (self: HashSet): boolean => {
realHashSet(self)
return self._keyMap.has(value)
}
}