function isWebSocketCloseEventDeprecatedDeprecateduse Deno.upgradeWebSocket Returns true if input value is a WebSocketCloseEvent, false otherwise. import { isWebSocketCloseEvent } from "https://dotland.deno.dev/std@0.116.0/ws/mod.ts"; isWebSocketCloseEvent(a: WebSocketEvent): a is WebSocketCloseEventParametersa: WebSocketEventReturnsa is WebSocketCloseEvent