assert condition

Operand types

condition: Boolean

Type of returned value

Description

Tests a condition and if the condition is false, halts the program.

Used In

ArmA

Example

assert (_x>0)

Advertisement