/** * Checks if the specified key has an entry in the `HashMap` using a custom * hash. * * @tsplus static HashMap.Aspects hasHash * @tsplus pipeable HashMap hasHash */ export function hasHash(key: K, hash: number) { return (self: HashMap): boolean => self.getHash(key, hash).isSome() }