---
name: "! a"
type: command
operator: "!"
status: ok
groups: ["Variables", "Math"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/!_a
revid: 369088
updated: 2024-09-02T20:37:47Z
---

# ! a

*Command · Variables, Math · Arma 3 v0.50 · introduced in Operation Flashpoint v1.00*

Alias: [not](../commands/not.md)

## Description

Returns the negation of a Boolean expression. This means `true` becomes `false` and vice versa.

## Syntax

```sqf
! a
```

**Parameters:**

- `a`: [Boolean](../topics/Boolean.md)

**Returns:** [Boolean](../topics/Boolean.md)

## Examples

### Example 1

The code

```sqf
private _isAlive = alive player;
if (!_isAlive) then
{
    hint "The player is dead!";
};
```

is the same as

```sqf
private _isAlive = alive player;
if (not _isAlive) then
{
    hint "The player is dead!";
};
```

## See also

[not](../commands/not.md) · [Operators](../topics/Operators.md)

<sub>Source: [BI Community Wiki — ! a](https://community.bistudio.com/wiki/!_a) (revision 369088).</sub>
