MCPcopy Create free account
hub / github.com/WebReflection/neverland / ref

Function ref

index.js:1365–1369  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

1363 };
1364 };
1365 var ref = function ref(node) {
1366 return function (value) {
1367 if (typeof value === 'function') value(node);else value.current = node;
1368 };
1369 };
1370 var setter = function setter(node, key) {
1371 return function (value) {
1372 node[key] = value;

Callers 1

index.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected