Question about array.hash(): Does it work when the array contains more arrays which each contain integers?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Xeadriel

This is how I initialized the array.

    mapMemory = []
	var helpArray = []
	
   	for i in range(-viewdistance+1, viewdistance-2):
        helpArray.append([])
	
	for i in range(-viewdistance+1, viewdistance-2):
		mapMemory.append(helpArray.duplicate(true))

So basically its a 2D array containing integer values. I just wanted to ask if hash() works with that kind of structure.