godot/modules/gdscript/tests/scripts/parser/warnings/deprecated_operators.gd

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

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