mirror of
https://github.com/godotengine/godot.git
synced 2026-01-01 05:49:28 +03:00
7 lines
104 B
GDScript
7 lines
104 B
GDScript
func check(arg: float = 3):
|
|
return typeof(arg) == typeof(3.0)
|
|
|
|
func test():
|
|
if check():
|
|
print('ok')
|