Name

when

Usage

macro

Syntax

(when test &body forms)

Description

If test is true, then evaluates forms as a do-block; else null.

user 1 > (when (odd? 123)
             (print-line "odd")
             456)
odd
it: 456