godot/modules/gdscript/tests/scripts/analyzer/features/default_arg_convertable.gd

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
104 B
GDScript3
Raw Normal View History

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