mirror of
https://github.com/tiennm99/godot.git
synced 2026-06-19 01:41:38 +00:00
015d36d18b
Replaces the `extends` keyword with `is` in the context of testing for type compatibility.
`extends` is still used for declaring class inheritance.
Example:
```gdscript
extends Node2D
func _input(ev):
if ev is InputEventKey:
print("yay, key event")
```