godot-module-template/engine/modules/gdscript/tests/scripts/analyzer/features/weak_initializer.gd

6 lines
89 B
GDScript
Raw Normal View History

2025-01-17 15:36:38 +00:00
func test():
var bar = 1
var foo: float = bar
print(typeof(foo))
print(foo is float)