Skip to content

utils.MiscUtils.Function.assert

Christian d'Heureuse edited this page Jun 7, 2026 · 2 revisions

dsp-collection / utils/MiscUtils / assert

Function: assert()

function assert(cond): asserts cond;

Defined in: utils/MiscUtils.ts:10

Throws an exception if a condition is not true.

Parameters

cond

boolean

Returns

asserts cond

Clone this wiki locally