{"name":"BIS_fnc_priorityQueue_GetHighestPriority","title":"BIS fnc priorityQueue GetHighestPriority","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_priorityQueue_GetHighestPriority","revid":274107,"updated":"2021-06-13T01:16:43Z","groups":["Priority Queue"],"status":"ok","games":{"arma3":"1.86"},"since":"arma3 1.86","arma3_since":"1.86","description":"Get the highest priority in the queue","syntaxes":[{"syntax":"[] call BIS_fnc_priorityQueue_GetHighestPriority","params":[{"name":"_handle","type":"Number","type_expr":"Number","description":"Queue handle (get it with BIS_fnc_PriorityQueue_Init)","text":"INT - Queue handle (get it with BIS_fnc_PriorityQueue_Init)","source":"docblock"}],"returns":{"type":"Number","type_expr":"Number","description":"the priority","text":"_priority:SCALAR - the priority","source":"docblock"}}],"examples":[{"code":["_myItem = [_priorityQueue_1] call BIS_fnc_PriorityQueue_PopItem;"]}],"docblock":{"text":"Author: Zozo\n\nDescription:\nGet the highest priority in the queue\n\nParameters:\n_handle:INT - Queue handle (get it with BIS_fnc_PriorityQueue_Init)\n\nReturns:\n_priority:SCALAR - the priority\n\nSyntax:\n_item:ANY = [_handle] call BIS_fnc_PriorityQueue_GetHighestPriority;\n\nExample:\n_myItem = [_priorityQueue_1] call BIS_fnc_PriorityQueue_PopItem;","author":"Zozo"},"filled_from_docblock":["description","params","returns","examples"]}