From 535a6f9faf21f1f8cbd0f4580de47cfc231a625d Mon Sep 17 00:00:00 2001 From: Pawel Kowal Date: Wed, 27 Jul 2016 15:49:15 +0200 Subject: Array has() documentation --- doc/base/classes.xml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/doc/base/classes.xml b/doc/base/classes.xml index d741dbbb65..dc24231dd0 100644 --- a/doc/base/classes.xml +++ b/doc/base/classes.xml @@ -4546,6 +4546,15 @@ Searches the array in reverse order for a value and returns its index or -1 if not found. + + + + + + + Return true if the array contains given value. [code][ "inside", 7 ].has("inside") == true, [ "inside", 7 ].has("outside") == false, [ "inside", 7 ].has(7) == true, [ "inside", 7 ].has("7") == false[/code] + + -- cgit v1.2.3