(wat: unknown)
| 127 | * @returns A boolean representing the result. |
| 128 | */ |
| 129 | export function isEvent(wat: unknown): wat is PolymorphicEvent { |
| 130 | return typeof Event !== 'undefined' && isInstanceOf(wat, Event); |
| 131 | } |
| 132 | |
| 133 | /** |
| 134 | * Checks whether given value's type is an Element instance |
no test coverage detected