classref: Sync with current master branch (89cc635)

This commit is contained in:
Godot Organization
2024-01-06 03:19:33 +00:00
parent 43f0195ba1
commit de1b79e21f
48 changed files with 1056 additions and 621 deletions

View File

@@ -972,7 +972,7 @@ See also :ref:`@GlobalScope.typeof<class_@GlobalScope_method_typeof>`, :ref:`typ
:ref:`int<class_int>` **len** **(** :ref:`Variant<class_Variant>` var **)**
Returns the length of the given Variant ``var``. The length can be the character count of a :ref:`String<class_String>`, the element count of any array type or the size of a :ref:`Dictionary<class_Dictionary>`. For every other Variant type, a run-time error is generated and execution is stopped.
Returns the length of the given Variant ``var``. The length can be the character count of a :ref:`String<class_String>` or :ref:`StringName<class_StringName>`, the element count of any array type, or the size of a :ref:`Dictionary<class_Dictionary>`. For every other Variant type, a run-time error is generated and execution is stopped.
::