summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2023-08-16 17:15:32 +0200
committerUrban Müller2023-08-16 17:15:32 +0200
commit179b94972aa964178a2921b70c2a895bf3039d0f (patch)
tree25a84a23e82dc55166683054a229c3af88c35bd5
parent0f001df4d03ac92068b38367df3c82569dc674c7 (diff)
downloaditools-179b94972aa964178a2921b70c2a895bf3039d0f.tar.gz
itools-179b94972aa964178a2921b70c2a895bf3039d0f.tar.bz2
itools-179b94972aa964178a2921b70c2a895bf3039d0f.zip
it::map docs
-rw-r--r--it.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it.class b/it.class
index 01527cd..2953085 100644
--- a/it.class
+++ b/it.class
@@ -1120,7 +1120,7 @@ static function map($code, $array, $p = null)
/**
* Return only elements of $array for which $code argument evaluates to true. Preserves keys
- * @param $code The function (gets key and value as args) or string expression (gets $k and $v) to evaluate
+ * @param $code The function (gets val or key,val) or string expression (gets $k and $v) to evaluate
*/
static function filter($code, $array)
{