1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00
Files
godot/modules/gdscript/tests/scripts/analyzer/features/default_arg_convertable.gd

7 lines
104 B
GDScript

func check(arg: float = 3):
return typeof(arg) == typeof(3.0)
func test():
if check():
print('ok')