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

Function iteratorResult

out/cli.cjs:2795–2809  ·  view source on GitHub ↗
([key, value], kind3)

Source from the content-addressed store, hash-verified

2793 }
2794 }
2795 function iteratorResult([key, value], kind3) {
2796 let result;
2797 switch (kind3) {
2798 case "key":
2799 result = key;
2800 break;
2801 case "value":
2802 result = value;
2803 break;
2804 case "key+value":
2805 result = [key, value];
2806 break;
2807 }
2808 return { value: result, done: false };
2809 }
2810 var supportsPropertyIndex = Symbol("supports property index");
2811 var supportedPropertyIndices = Symbol("supported property indices");
2812 var supportsPropertyName = Symbol("supports property name");

Callers 1

nextFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…