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

Function isPlainObject

common/src/util/split-data.ts:8–14  ·  view source on GitHub ↗
(val: any)

Source from the content-addressed store, hash-verified

6}
7
8function isPlainObject(val: any): val is PlainObject {
9 return (
10 typeof val === 'object' &&
11 val !== null &&
12 Object.getPrototypeOf(val) === Object.prototype
13 )
14}
15
16function getJsonSize(data: any): number {
17 if (data === undefined) {

Callers 1

splitDataWithLengthsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected