Arma 3 Scripting

BIS_fnc_priorityQueue_IsEmpty

  • Arma 3 v1.86

Function · Markdown · JSON · original wiki page

Description

/*

Checks if the Queue is empty

Syntax

[] call BIS_fnc_priorityQueue_IsEmpty

Parameters:

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

Examples

Example 1

_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.

/*
/*
    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;
*/