Skip to main content
Go to Latest
function isWebSocketCloseEvent
import { isWebSocketCloseEvent } from "https://deno.land/std@0.80.0/ws/mod.ts";

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

Parameters

a: WebSocketEvent

Returns

a is WebSocketCloseEvent