MCPcopy Create free account
hub / github.com/alignoth/alignoth / ce

Function ce

resources/vega.min.js:1139–1143  ·  view source on GitHub ↗
(t, e)

Source from the content-addressed store, hash-verified

1137 return n.has(i) ? n.get(i) : e;
1138 }
1139 function ce(t, e) {
1140 let { _intern: n, _key: r } = t;
1141 const i = r(e);
1142 return n.has(i) ? n.get(i) : (n.set(i, e), e);
1143 }
1144 function fe(t, e) {
1145 let { _intern: n, _key: r } = t;
1146 const i = r(e);

Callers 2

setMethod · 0.85
addMethod · 0.85

Calls 4

rFunction · 0.70
hasMethod · 0.45
getMethod · 0.45
setMethod · 0.45

Tested by

no test coverage detected