Skip to main content
function isWebSocketCloseEvent
import { isWebSocketCloseEvent } from "https://deno.land/x/sono@v1.1/deps.ts";

Returns true if input value is a WebSocketCloseEvent, false otherwise.

Parameters

a: WebSocketEvent

Returns

a is WebSocketCloseEvent