Skip to content

armgit / godot

Public Imported from GitHub
0

Godot Engine – Multi-platform 2D and 3D game engine

248 B
Raw Blame
const array: Array = [0]
const dictionary := {1: 2}

func test():
	Utils.check(array.is_read_only() == true)
	Utils.check(str(array) == '[0]')
	Utils.check(dictionary.is_read_only() == true)
	Utils.check(str(dictionary) == '{ 1: 2 }')
	print('ok')