Skip to content

Commit

Permalink
docs: improve
Browse files Browse the repository at this point in the history
  • Loading branch information
haoziqaq committed Oct 29, 2024
1 parent eea426b commit 88daff6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/array/find.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ find(['a', 'b', 'a'], (item) => item === 'a', 'end')
| Arg | Type | Defaults |
| ------ | ------------------------------------------------- | --------- |
| `arr` | `Array` | |
| `fn` | `(item: any, index: number, array: Array) => any` | |
| `fn` | `(item: any, index: number, array: Array) => boolean` | |
| `from` | `'start' \| 'end'` | `'start'` |

### Return
Expand Down
2 changes: 1 addition & 1 deletion docs/zh/array/find.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ find(['a', 'b', 'a'], (item) => item === 'a', 'end')
| 参数 | 类型 | 默认值 |
| ------ | ------------------------------------------------- | --------- |
| `arr` | `Array` | |
| `fn` | `(item: any, index: number, array: Array) => any` | |
| `fn` | `(item: any, index: number, array: Array) => boolean` | |
| `from` | `'start' \| 'end'` | `'start'` |

### 返回值
Expand Down

0 comments on commit 88daff6

Please sign in to comment.