Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
function isWebSocketPingEvent
import { isWebSocketPingEvent } from "https://deno.land/x/rsocket@0.3.0/deps.ts";

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

Parameters

a: WebSocketEvent

Returns

a is WebSocketPingEvent