(wat: unknown)
| 173 | * Use the equivalent helper that ships with `@sentry/react` instead. |
| 174 | */ |
| 175 | export function isSyntheticEvent(wat: unknown): boolean { |
| 176 | return isPlainObject(wat) && 'nativeEvent' in wat && 'preventDefault' in wat && 'stopPropagation' in wat; |
| 177 | } |
| 178 | |
| 179 | /** |
| 180 | * Checks whether given value's type is an instance of provided constructor. |
nothing calls this directly
no test coverage detected