godot/modules/gdscript/tests/scripts/parser/features/lambda_callable.gd

5 lines
87 B
GDScript3
Raw Normal View History

func test():
var my_lambda = func(x):
print(x)
my_lambda.call("hello")