MCPcopy Index your code
hub / github.com/triggerdotdev/trigger.dev / isEmptyObj

Function isEmptyObj

integrations/openai/src/taskUtils.ts:307–311  ·  view source on GitHub ↗
(obj: Object | null | undefined)

Source from the content-addressed store, hash-verified

305};
306
307function isEmptyObj(obj: Object | null | undefined): boolean {
308 if (!obj) return true;
309 for (const _k in obj) return false;
310 return true;
311}
312
313function hasOwn(obj: Object, key: string): boolean {
314 return Object.prototype.hasOwnProperty.call(obj, key);

Callers 1

isRequestOptionsFunction · 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…