aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrahflow <drahflow@gmx.de>2016-07-04 13:11:45 +0200
committerDrahflow <drahflow@gmx.de>2016-07-04 13:11:45 +0200
commit73198ac27fa2b08e6b16eace3a75bc56a068206c (patch)
treee819c63beeff2ca2f576f8587b1e5ed61de0f341
parentbc3fd52faba1e62aefa6d371507450417983c52c (diff)
Added info about index when no element is found
-rw-r--r--doc/global.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/global.md b/doc/global.md
index b203c5d..5d034e0 100644
--- a/doc/global.md
+++ b/doc/global.md
@@ -856,7 +856,7 @@ Returns a new array consisting of those element indices for which *p* returned n
-------
Takes a function object *p* and an array from the stack. Starting from the start of the array, each element is pushed
-and *p* invoked. Returns the lowest array index for which *p* returns non-zero.
+and *p* invoked. Returns the lowest array index for which *p* returns non-zero, or -1 if no such index exists.
[ /b /a /b /b /a ] { /a eq } index dump
0000000000000001