MCPcopy Create free account
hub / github.com/microsoft/SandDance / entries

Function entries

docs/app/js/sanddance-app.js:136911–136919  ·  view source on GitHub ↗
(map, depth)

Source from the content-addressed store, hash-verified

136909 return result;
136910 }
136911 function entries(map, depth) {
136912 if (++depth > keys.length) return map;
136913 const array = [];
136914 for(const key in map)array.push({
136915 key,
136916 values: entries(map[key], depth)
136917 });
136918 return array;
136919 }
136920 return nest1;
136921}
136922/**

Callers 1

nestFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected