Skip to content

Commit

Permalink
docs) wrong function name, fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
s5unty authored and odino committed Dec 16, 2021
1 parent 76b450e commit 492af93
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/src/docs/types/array.md
Original file line number Diff line number Diff line change
Expand Up @@ -371,8 +371,8 @@ Returns true when at least one of the elements in the array
returns `true` when applied to the function `f`:
```py
[0, 1, 2].map(f(x){x == 1}) # true
[0, 1, 2].map(f(x){x == 4}) # false
[0, 1, 2].some(f(x){x == 1}) # true
[0, 1, 2].some(f(x){x == 4}) # false
```
### sort()
Expand Down Expand Up @@ -469,4 +469,4 @@ Returns the array with duplicate values removed. The values need not be sorted:
```py
[1, 1, 1, 2].unique() # [1, 2]
[2, 1, 2, 3].unique() # [2, 1, 3]
```
```

0 comments on commit 492af93

Please sign in to comment.