summaryrefslogtreecommitdiff
path: root/doc/classes/Array.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/Array.xml')
-rw-r--r--doc/classes/Array.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/classes/Array.xml b/doc/classes/Array.xml
index b013b3c4ae..6bd0ef3421 100644
--- a/doc/classes/Array.xml
+++ b/doc/classes/Array.xml
@@ -196,10 +196,10 @@
<description>
Return true if the array contains given value.
[codeblock]
- [ "inside", 7 ].has("inside") == true
- [ "inside", 7 ].has("outside") == false
- [ "inside", 7 ].has(7) == true
- [ "inside", 7 ].has("7") == false
+ ["inside", 7].has("inside") == true
+ ["inside", 7].has("outside") == false
+ ["inside", 7].has(7) == true
+ ["inside", 7].has("7") == false
[/codeblock]
</description>
</method>