mirror of
https://github.com/tiennm99/godot.git
synced 2026-08-24 22:27:13 +00:00
Lambda syntax is the same as a the function syntax (using the same
`func` keyword) except that the name is optional and it can be embedded
anywhere an expression is expected. E.g.:
func _ready():
var my_lambda = func(x):
print(x)
my_lambda.call("hello")