Function: isHTMLAudioElement()
ts
function isHTMLAudioElement(value: unknown): value is HTMLAudioElement;Type guard that checks if a value is an HTMLAudioElement. Safe to use in SSR environments.
Parameters
| Parameter | Type | Description |
|---|---|---|
value | unknown | The value to check |
Returns
value is HTMLAudioElement
True if the value is an HTMLAudioElement