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

Function isEmptyObj

out/cli.cjs:70082–70088  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

70080 if (typeof process !== "undefined") {
70081 return process.env?.[env2]?.trim() ?? void 0;
70082 }
70083 if (typeof Deno !== "undefined") {
70084 return Deno.env?.get?.(env2)?.trim();
70085 }
70086 return void 0;
70087};
70088function isEmptyObj(obj) {
70089 if (!obj)
70090 return true;
70091 for (const _k in obj)

Callers 2

buildURLMethod · 0.85
authHeadersMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected