MCPcopy Create free account
hub / github.com/75team/SublimeJS / map

Function map

SublimeJS/js/when.js:668–670  ·  view source on GitHub ↗

* Promise-aware array map function, similar to `Array.prototype.map()`, * but input array may contain promises or values. * @param {Array|Promise} array array of anything, may contain promises and values * @param {function} mapFunc map function which may return a promise or value * @returns

(array, mapFunc)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

mixinFunction · 0.85

Calls 1

_mapFunction · 0.85

Tested by

no test coverage detected