MCPcopy
hub / github.com/Effect-TS/effect / clear

Function clear

packages/effect/src/MutableHashMap.ts:378–383  ·  view source on GitHub ↗
(self: MutableHashMap<K, V>)

Source from the content-addressed store, hash-verified

376 * @since 2.0.0
377 */
378export const clear = <K, V>(self: MutableHashMap<K, V>) => {
379 self.referential.clear()
380 self.buckets.clear()
381 self.bucketsSize = 0
382 return self
383}
384
385/**
386 * @since 2.0.0

Callers

nothing calls this directly

Calls 1

clearMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…