diff options
| author | bluebear94 <uruwi@protonmail.com> | 2023-07-29 17:11:21 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-07-29 23:11:21 +0200 |
| commit | 66df130ca4c9217d137cba0778d33c8ff9349d33 (patch) | |
| tree | 6f897e2dcd3bcbee0c311ab0d41d1d000b79ef72 /docs | |
| parent | 5bd97e218b698b2ad14fad0470b3b800469ee748 (diff) | |
Add start parameter to array enumerate (#1818)
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/reference/types.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/reference/types.md b/docs/reference/types.md index 4150cc9b..d7cfaa65 100644 --- a/docs/reference/types.md +++ b/docs/reference/types.md @@ -892,6 +892,9 @@ The returned array consists of `(index, value)` pairs in the form of length-2 arrays. These can be [destructured]($scripting/#bindings) with a let binding or for loop. +- start: integer (named) + The index returned for the first pair of the returned list. + Defaults to `{0}`. - returns: array ### zip() |
