---
name: "BIS_fnc_priorityQueue_IsEmpty"
type: function
status: ok
groups: ["Priority Queue"]
arma3_since: "1.86"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/BIS_fnc_priorityQueue_IsEmpty
revid: 274407
updated: 2021-06-13T01:22:08Z
---

# BIS_fnc_priorityQueue_IsEmpty

*Function · Priority Queue · Arma 3 v1.86*

## Description

/*

Checks if the Queue is empty

## Syntax

```sqf
[] call BIS_fnc_priorityQueue_IsEmpty
```

**Parameters:**

- `_handle` — INT - Queue handle (get it with BIS_fnc_PriorityQueue_Init)

**Returns:** _empty:BOOL - true if the Queue is empty

## Examples

### Example 1

```sqf
_isTheQueueEmpty = [_priorityQueue_1] call BIS_fnc_PriorityQueue_IsEmpty;
```

## Function header

The comment at the top of the function's file in the game; this page's description, params, returns, examples come from it.

```sqf
/*
/*
    Author: Zozo

    Description:
    Checks if the Queue is empty

    Parameters:
    _handle:INT - Queue handle (get it with BIS_fnc_PriorityQueue_Init)

    Returns:
    _empty:BOOL - true if the Queue is empty

    Syntax:
    _empty:BOOL = [_handle] call BIS_fnc_PriorityQueue_IsEmpty;

    Example:
    _isTheQueueEmpty = [_priorityQueue_1] call BIS_fnc_PriorityQueue_IsEmpty;
*/
```

<sub>Source: [BI Community Wiki — BIS fnc priorityQueue IsEmpty](https://community.bistudio.com/wiki/BIS_fnc_priorityQueue_IsEmpty) (revision 274407).</sub>
