From 97610c8bfc312cc6d7d6106813086296f18b8b08 Mon Sep 17 00:00:00 2001 From: Raul Santos Date: Wed, 18 Jan 2023 21:57:47 +0100 Subject: Add property usage to array indexer This makes the `Array` indexer show as returning `Variant` instead of `void` in the documentation. --- doc/classes/Array.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/classes/Array.xml') 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 @@ - + 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. -- cgit v1.2.3