mirror of
https://github.com/tiennm99/godot.git
synced 2026-07-01 05:06:01 +00:00
c6e66a43b0
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")