Unify typing of variables, constants and parameters in GDScript
This commit is contained in:
parent
1d14c054a1
commit
a1d06749f1
17 changed files with 237 additions and 357 deletions
|
|
@ -0,0 +1,6 @@
|
|||
func check(arg: float = 3):
|
||||
return typeof(arg) == typeof(3.0)
|
||||
|
||||
func test():
|
||||
if check():
|
||||
print('ok')
|
||||
Loading…
Add table
Add a link
Reference in a new issue