---
name: "taskNull"
type: command
status: ok
groups: ["Briefing", "Variables"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/taskNull
revid: 369300
updated: 2024-09-03T18:42:52Z
---

# taskNull

*Command · Briefing, Variables · Arma 3 v0.50 · introduced in Arma 2 v1.00*

## Description

A non-existing [Task](../topics/Task.md). To compare non-existent tasks use [isNull](../commands/isNull.md) or [isEqualTo](../commands/isEqualTo.md):

```sqf
taskNull == taskNull;            // false
isNull taskNull;                // true
taskNull isEqualTo taskNull;    // true
```

## Syntax

```sqf
taskNull
```

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

## Examples

### Example 1

```sqf
!isNull taskNull; // false
```

### Example 2

```sqf
str taskNull; // no task
```

## See also

[controlNull](../commands/controlNull.md) · [displayNull](../commands/displayNull.md) · [grpNull](../commands/grpNull.md) · [locationNull](../commands/locationNull.md) · [objNull](../commands/objNull.md) · [teamMemberNull](../commands/teamMemberNull.md) · [scriptNull](../commands/scriptNull.md) · [configNull](../commands/configNull.md) · [typeName](../commands/typeName.md) · [isNull](../commands/isNull.md)

<sub>Source: [BI Community Wiki — taskNull](https://community.bistudio.com/wiki/taskNull) (revision 369300).</sub>
