mirror of
https://github.com/godotengine/godot.git
synced 2025-10-22 09:23:40 +00:00
6 lines
104 B
GDScript
6 lines
104 B
GDScript
func check(arg: float = 3):
|
|
return typeof(arg) == typeof(3.0)
|
|
|
|
func test():
|
|
if check():
|
|
print('ok')
|