OverviewFilesCommitsIssuesDocsReleasesPeers

nvidia-rtx-godot / modules / gdscript / tests / scripts / analyzer / features / default_arg_convertable.gd

7 lines · gd ref:
func check(arg: float = 3):
	return typeof(arg) == typeof(3.0)

func test():
	if check():
		print('ok')