← Back to index
function assert

Make an assertion, error will be thrown if expr does not have truthy value.

Parameters

🔗
expr: unknown
🔗
msg

Return Type

🔗
asserts expr