MCPcopy
hub / github.com/immutable-js/immutable-js / SetRef

Function SetRef

src/TrieUtils.ts:22–26  ·  view source on GitHub ↗
(ref: Ref)

Source from the content-addressed store, hash-verified

20}
21
22export function SetRef(ref: Ref): void {
23 if (ref) {
24 ref.value = true;
25 }
26}
27
28// A function which returns a value representing an "owner" for transient writes
29// to tries. The return value will only ever equal itself, and will not equal

Callers 5

updateVNodeFunction · 0.90
updateMethod · 0.90
updateMethod · 0.90
updateMethod · 0.90
updateNodeFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected