From 6ce5876c63ffd7bc21b38197c4fa89713a77ceb5 Mon Sep 17 00:00:00 2001 From: George Marques Date: Fri, 10 Jun 2016 18:07:59 -0300 Subject: [PATCH] Add documentation for Array.find and Array.rfind --- doc/base/classes.xml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/doc/base/classes.xml b/doc/base/classes.xml index b74ac1c1442..b72f082afa0 100644 --- a/doc/base/classes.xml +++ b/doc/base/classes.xml @@ -4390,10 +4390,12 @@ - + + + - Searches the array for a value and returns its index or -1 if not found. + Searches the array for a value and returns its index or -1 if not found. Optionally, the initial search index can be passed. @@ -4471,6 +4473,15 @@ Resize the array to contain a different number of elements. If the array size is smaller, elements are cleared, if bigger, new elements are Null. + + + + + + + Searches the array in reverse order. Optionally, a start search index can be passed. If negative, the start index is considered relative to the end of the array. + +