mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 12:12:34 +03:00
14 lines
352 B
Plaintext
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};
|
|
}; |