std@0.95.0/ws/mod.ts

Deno standard library
GitHub Stars
2260
Go to Latest

isWebSocketPingEvent

import { isWebSocketPingEvent } from "https://deno.land/std@0.95.0/ws/mod.ts";

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

function isWebSocketPingEvent(a: WebSocketEvent): a is WebSocketPingEvent;