unless

Usage

unless expression command unless expression command-or-block [ else command-or-block ]

Description

Like if but negating the result of the expression. Also, unlike if, unless has no elsif block.

See Also

if