MCPcopy Create free account
hub / github.com/Effect-TS/effect / beginMutation

Function beginMutation

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

Source from the content-addressed store, hash-verified

1062
1063/** @internal */
1064export const beginMutation = <K, V>(self: HashMap<K, V>): HashMap<K, V> => {
1065 const impl = self as HashMapImpl<K, V>
1066 return new HashMapImpl(true, impl._edit + 1, impl._root, impl._size)
1067}
1068
1069/** @internal */
1070export const endMutation = <K, V>(self: HashMap<K, V>): HashMap<K, V> => {

Callers 1

hashMap.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected