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

x/pogsocket/websocket/deps.ts>assert

🌐 deno websocket client
Latest
function assert
Re-export
import { assert } from "https://deno.land/x/pogsocket@2.0.0/websocket/deps.ts";

Make an assertion, if not true, then throw.

Parameters

expr: unknown
optional
msg = [UNSUPPORTED]

Returns

asserts expr