diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-01-19 19:33:05 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-01-19 19:33:05 +0100 |
commit | ab5c75b9ad9134cfca3952203042a9b5d87851b2 (patch) | |
tree | 0651d16b73ec56a2137e1e7cf8268cd7168e99ce /doc | |
parent | 35cba7b21e867da52c86762275d2a22c023c91a0 (diff) | |
parent | 97610c8bfc312cc6d7d6106813086296f18b8b08 (diff) |
Merge pull request #71649 from raulsntos/array-indexer
Add property usage to array indexer
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/Array.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/Array.xml b/doc/classes/Array.xml index 21ccf79fe2..ce4d7693d8 100644 --- a/doc/classes/Array.xml +++ b/doc/classes/Array.xml @@ -679,7 +679,7 @@ </description> </operator> <operator name="operator []"> - <return type="void" /> + <return type="Variant" /> <param index="0" name="index" type="int" /> <description> Returns a reference to the element of type [Variant] at the specified location. Arrays start at index 0. [param index] can be a zero or positive value to start from the beginning, or a negative value to start from the end. Out-of-bounds array access causes a run-time error, which will result in an error being printed and the project execution pausing if run from the editor. |