Name

assert

Usage

macro

Syntax

(assert expr)

Description

Throws an AssertFailedException if expr evaluates to false. Generates no code when $debug-mode is false.

user 1 > (assert (= 1 2))
Failed condition: (= 1 2)