MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / computedArray

Function computedArray

lib/web/tern/def.js:61–65  ·  view source on GitHub ↗
(inner)

Source from the content-addressed store, hash-verified

59 };
60 }
61 function computedArray(inner) {
62 return function(self, args) {
63 return new infer.Arr(inner(self, args));
64 };
65 }
66 function computedTuple(types) {
67 return function(self, args) {
68 return new infer.Arr(types.map(function(tp) { return unwrapType(tp, self, args) }))

Callers 1

def.jsFile · 0.85

Calls 1

innerFunction · 0.85

Tested by

no test coverage detected