Get number of elements in a Hash.
_hash | Hash to check size of [Array which is a Hash structure] |
Size of the Hash or -1 if the argument is not a Hash [Number]
_emptyHash = [] call CBA_fnc_hashCreate; [_emptyHash] call CBA_fnc_hashSize; // => 0 _animalCounts = [[["frog", 12], ["fish", 9]]] call CBA_fnc_hashCreate; [_animalCounts] call CBA_fnc_hashSize; // => 2
Killswitch