MCPcopy Create free account
hub / github.com/getsentry/sentry / isObject

Function isObject

static/app/utils/api/apiOptions.ts:22–24  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

20 : {path: Record<ExtractPathParams<TApiPath>, string | number> | SkipToken};
21
22function isObject(value: unknown): value is Record<string, unknown> {
23 return value !== null && typeof value === 'object' && !Array.isArray(value);
24}
25
26function stripUndefinedValues(obj: Record<string, unknown>): Record<string, unknown> {
27 const result: Record<string, unknown> = {};

Callers 1

stripUndefinedValuesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected