MCPcopy Index your code
hub / github.com/getsentry/sentry-javascript / isPlainObject

Function isPlainObject

packages/core/src/utils/is.ts:118–120  ·  view source on GitHub ↗
(wat: unknown)

Source from the content-addressed store, hash-verified

116 * @returns A boolean representing the result.
117 */
118export function isPlainObject(wat: unknown): wat is Record<string, unknown> {
119 return isBuiltin(wat, 'Object');
120}
121
122/**
123 * Checks whether given value's type is an Event instance

Callers 10

isSyntheticEventFunction · 0.90
is.test.tsFile · 0.90
updateMethod · 0.90
setupFunction · 0.90
getExceptionFunction · 0.90
defaultExtractAttributesFunction · 0.90
applyFunction · 0.90
isSyntheticEventFunction · 0.70

Calls 1

isBuiltinFunction · 0.85

Tested by

no test coverage detected