MCPcopy
hub / github.com/deepops-ai/deepops / isObject

Function isObject

ui/src/utils/axios/createError.ts:36–36  ·  view source on GitHub ↗
(data: any)

Source from the content-addressed store, hash-verified

34})
35
36export const isObject = (data: any) => typeof data === 'object'
37
38export const TestError = (data: any) =>
39 data && isObject(data) && KEYS.error in data

Callers 3

TestErrorFunction · 0.70
changesFunction · 0.50
isEmptyFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected