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

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

Parameters

a: WebSocketEvent

Returns

a is WebSocketPingEvent