mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2024-11-13 05:53:53 +01:00
4 lines
101 B
Plaintext
4 lines
101 B
Plaintext
function array_safe_get(arr, index) {
|
|
if(index >= array_length(arr)) return 0;
|
|
return arr[index];
|
|
} |