mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2025-01-13 15:56:35 +01:00
4 lines
No EOL
101 B
Text
4 lines
No EOL
101 B
Text
function array_safe_get(arr, index) {
|
|
if(index >= array_length(arr)) return 0;
|
|
return arr[index];
|
|
} |