/** * Remove the entry for the specified key in the `HashMap` using the internal * hashing function. * * @tsplus static HashMap.Aspects remove * @tsplus pipeable HashMap remove */ export function remove(key: K) { return (self: HashMap): HashMap => self.modify(key, () => Maybe.none) }