Unify typing of variables, constants and parameters in GDScript
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
func check(arg: float = 3):
|
||||
return typeof(arg) == typeof(3.0)
|
||||
|
||||
func test():
|
||||
if check():
|
||||
print('ok')
|
||||
Reference in New Issue
Block a user