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

Function isPlainObject

packages/ember/index.js:101–103  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

99}
100
101function isPlainObject(obj) {
102 return typeof obj === 'object' && obj.constructor === Object && obj.toString() === '[object Object]';
103}
104
105function dropUndefinedKeys(obj) {
106 const newObj = {};

Callers 4

isSerializableFunction · 0.70
eventFromUnknownInputFunction · 0.50
listenForSentryMessagesFunction · 0.50
isSentryMessageFunction · 0.50

Calls 1

toStringMethod · 0.65

Tested by

no test coverage detected