☰
Debian Codegraph
@
4.6.3+ds-2
/
/
modules
/
gdscript
/
tests
/
scripts
/
analyzer
/
features
/
cast_non_null.gd
☽
☼
modules/gdscript/tests/scripts/analyzer/features/cast_non_null.gd
code
plain
raw
Expat
2014-present, Godot Engine contributors; 2007-2014, Juan Linietsky, Ariel Manzur
debian/copyright
1
# https://github.com/godotengine/godot/issues/69504#issuecomment-1345725988
2
3
func test():
4
print("cast to Variant == null: ", 1 as Variant == null)
5
print("cast to Object == null: ", self as Object == null)