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

Function isDOMError

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

Source from the content-addressed store, hash-verified

56 * @returns A boolean representing the result.
57 */
58export function isDOMError(wat: unknown): boolean {
59 return isBuiltin(wat, 'DOMError');
60}
61
62/**
63 * Checks whether given value's type is DOMException

Callers 2

is.test.tsFile · 0.90
eventFromUnknownInputFunction · 0.85

Calls 1

isBuiltinFunction · 0.85

Tested by

no test coverage detected