MCPcopy
hub / github.com/di-sukharev/opencommit / map

Function map

out/cli.cjs:2889–2896  ·  view source on GitHub ↗
(array, callback)

Source from the content-addressed store, hash-verified

2887 throw new RangeError(errors[type2]);
2888 }
2889 function map(array, callback) {
2890 const result = [];
2891 let length = array.length;
2892 while (length--) {
2893 result[length] = callback(array[length]);
2894 }
2895 return result;
2896 }
2897 function mapDomain(domain, callback) {
2898 const parts = domain.split("@");
2899 let result = "";

Callers 2

mapDomainFunction · 0.85
makeIssueFunction · 0.85

Calls 1

callbackFunction · 0.85

Tested by

no test coverage detected