MCPcopy Create free account
hub / github.com/binux/qiandao / arrayToHash

Function arrayToHash

web/static/node_components.js:3042–3050  ·  view source on GitHub ↗
(array)

Source from the content-addressed store, hash-verified

3040
3041
3042function arrayToHash(array) {
3043 var hash = {};
3044
3045 array.forEach(function(val, idx) {
3046 hash[val] = true;
3047 });
3048
3049 return hash;
3050}
3051
3052
3053function formatValue(ctx, value, recurseTimes) {

Callers 1

formatValueFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected