MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / isEmptyObject

Function isEmptyObject

cli/src/utils/logger.ts:62–69  ·  view source on GitHub ↗
(value: any)

Source from the content-addressed store, hash-verified

60}
61
62function isEmptyObject(value: any): boolean {
63 return (
64 value != null &&
65 typeof value === 'object' &&
66 !Array.isArray(value) &&
67 Object.keys(value).length === 0
68 )
69}
70
71function setLogPath(p: string): void {
72 if (p === logPath) return // nothing to do

Callers 1

sendAnalyticsAndLogFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected