Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/websocket_server/mod.ts>isWebSocketCloseEvent

A WebSocket server library for Deno 🔌
Go to Latest
function isWebSocketCloseEvent
import { isWebSocketCloseEvent } from "https://deno.land/x/websocket_server@1.0.2/mod.ts";

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

Returns

a is WebSocketCloseEvent