diff options
| author | Daniel Csillag <dccsillag@gmail.com> | 2023-04-11 07:48:17 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-11 12:48:17 +0200 |
| commit | a8087a9dbb8b24b451bfaa5d31e07e9b5574226d (patch) | |
| tree | a726cd4d80c82b9ae40c6e2fa69fca326ffbd9ea /docs/src | |
| parent | f58ed110da56f4e2fc2d0b8c390c42359cc0f43c (diff) | |
Array sorting by key (#584)
Diffstat (limited to 'docs/src')
| -rw-r--r-- | docs/src/reference/types.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/src/reference/types.md b/docs/src/reference/types.md index 312ba7c0..427b1a79 100644 --- a/docs/src/reference/types.md +++ b/docs/src/reference/types.md @@ -657,6 +657,8 @@ Combine all items in the array into one. ### sorted() Return a new array with the same items, but sorted. +- key: function (named) + If given, applies this function to the elements in the array to determine the keys to sort by. - returns: array # Dictionary |
