commons-math-interpolation / Utils / assert
function assert(cond, msg?): asserts cond;
Defined in: Utils.ts:27
Throws an exception if the passed condition is not true.
true
This is a TypeScript assertion function. After a call, the compiler narrows cond to true.
cond
boolean
The condition to be checked.
string
An optional message for the exception.
asserts cond
Error If cond is not true.
There was an error while loading. Please reload this page.