MCPcopy Index your code
hub / github.com/socketio/socket.io / assert

Function assert

test/support/util.ts:72–74  ·  view source on GitHub ↗
(condition: any)

Source from the content-addressed store, hash-verified

70 * @param condition
71 */
72export function assert(condition: any): asserts condition {
73 expect(condition).to.be.ok();
74}
75
76export function getPort(io: Server): number {
77 // @ts-ignore

Callers 2

uws.tsFile · 0.90
namespaces.tsFile · 0.90

Calls 1

okMethod · 0.80

Tested by

no test coverage detected