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

Function isErrorEvent

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

Source from the content-addressed store, hash-verified

45 * @returns A boolean representing the result.
46 */
47export function isErrorEvent(wat: unknown): boolean {
48 return isBuiltin(wat, 'ErrorEvent');
49}
50
51/**
52 * Checks whether given value's type is DOMError

Callers 2

is.test.tsFile · 0.90
getMessageForObjectFunction · 0.90

Calls 1

isBuiltinFunction · 0.85

Tested by

no test coverage detected