Godot - Get number of values in array
GDScript code example to get number of values in array.
Can get number of values in array using size()
in GDScript.
var array = ["apple", "lemon", "apple", "banana"]
var size = array.size()
print(size)
# 4