virtualx-engine/modules/gdscript/tests/scripts/parser/warnings/deprecated_operators.gd

9 lines
130 B
GDScript3
Raw Normal View History

func test():
# `and` should be used instead.
if true && true:
pass
# `or` should be used instead.
if false || true:
pass