MCPcopy Index your code
hub / github.com/Macuyiko/minecraft-python / each

Function each

ServerEditorWeb/ace/worker-javascript.js:6755–6763  ·  view source on GitHub ↗
(obj, cb)

Source from the content-addressed store, hash-verified

6753 exported = Object.create(null);
6754
6755 function each(obj, cb) {
6756 if (!obj)
6757 return;
6758
6759 if (!Array.isArray(obj) && typeof obj === "object")
6760 obj = Object.keys(obj);
6761
6762 obj.forEach(cb);
6763 }
6764
6765 if (o) {
6766 each(o.predef || null, function (item) {

Callers 4

groupFunction · 0.85
flattenFunction · 0.85
itselfFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected