MCPcopy Index your code
hub / github.com/Effect-TS/effect / beginMutation

Function beginMutation

packages/effect/src/internal/hashMap.ts:352–358  ·  view source on GitHub ↗
(self: HM.HashMap<K, V>)

Source from the content-addressed store, hash-verified

350
351/** @internal */
352export const beginMutation = <K, V>(self: HM.HashMap<K, V>): HM.HashMap<K, V> =>
353 makeImpl(
354 true,
355 (self as HashMapImpl<K, V>)._edit + 1,
356 (self as HashMapImpl<K, V>)._root,
357 (self as HashMapImpl<K, V>)._size
358 )
359
360/** @internal */
361export const endMutation = <K, V>(self: HM.HashMap<K, V>): HM.HashMap<K, V> => {

Callers 2

fromIterableFunction · 0.70
hashMap.tsFile · 0.70

Calls 1

makeImplFunction · 0.70

Tested by

no test coverage detected