From aa8a5bf42fa5f6e70faf374696888c640fae9e4e Mon Sep 17 00:00:00 2001 From: Laurenz Date: Sun, 26 Feb 2023 23:07:50 +0100 Subject: Documentation fixes --- docs/src/reference/types.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'docs/src') diff --git a/docs/src/reference/types.md b/docs/src/reference/types.md index d7482a92..355027f5 100644 --- a/docs/src/reference/types.md +++ b/docs/src/reference/types.md @@ -680,11 +680,9 @@ Returns the values of the dictionary as an array in key-order. - returns: array ### pairs() -Call a function for each key-value pair and return the results in an array. +Returns the keys and values of the dictionary as an array of pairs. Each pair is +represented as an array of length two. -- mapper: function (positional, required) - The function to apply to each pair. Gets passed the key and value as two - separate arguments. - returns: array ### remove() -- cgit v1.2.3