MCPcopy Create free account
hub / github.com/di-sukharev/opencommit / __values

Function __values

out/cli.cjs:74972–74982  ·  view source on GitHub ↗
(o3)

Source from the content-addressed store, hash-verified

74970 t2[p4] = s2[p4];
74971 if (s2 != null && typeof Object.getOwnPropertySymbols === "function")
74972 for (var i3 = 0, p4 = Object.getOwnPropertySymbols(s2); i3 < p4.length; i3++) {
74973 if (e3.indexOf(p4[i3]) < 0 && Object.prototype.propertyIsEnumerable.call(s2, p4[i3]))
74974 t2[p4[i3]] = s2[p4[i3]];
74975 }
74976 return t2;
74977}
74978function __values(o3) {
74979 var s2 = typeof Symbol === "function" && Symbol.iterator, m5 = s2 && o3[s2], i3 = 0;
74980 if (m5) return m5.call(o3);
74981 if (o3 && typeof o3.length === "number") return {
74982 next: function() {
74983 if (o3 && i3 >= o3.length) o3 = void 0;
74984 return { value: o3 && o3[i3++], done: !o3 };
74985 }

Callers 1

__asyncValuesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected