Variant types¶
All variant types have an overloaded __init__ method, see Godot’s variant type documentation for details on variant constructors. Differences are noted here. All types are also given __str__, __repr__, __copy__, __deepcopy__, and copy methods.
- class Array[T]¶
Typed
Arraywith element typeT. If no type is given theArrayis untyped.Note
Python doesn’t enforce types, but Godot does.