Files
DayZ-Epoch/SQF/dayz_code/compile/fn_isEqual.sqf
2016-08-23 11:17:07 -04:00

14 lines
352 B
Plaintext

/*
Kilzone_Kid's megafast isEqual function
params [array1,array2]
Examples:
hint str ([[1,2,3], [1,2,3]] call fnc_isEqual); //true
hint str ([[1,[2,[3]]], [1,[2,[3]]]] call fnc_isEqual); //true
hint str ([[1,[2,[3]]], [1,[2,[4]]]] call fnc_isEqual); //false
*/
switch (_this select 0) do {
case (_this select 1) : {true};
default {false};
};