findRight is actually findLast

Not sure if this was renamed at some point but there's no "findRight" in lodash, just findLast.

https://lodash.com/docs/4.17.15#findLast
This commit is contained in:
Mark Thomson 2020-05-01 16:10:22 -07:00 committed by GitHub
parent cb4e03077f
commit abf62e4868
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ description: |
```js
_.filter(list, (n) => n % 2) // → Array
_.find(list, (n) => n % 2) // → item
_.findRight(list, ...) // → item
_.findLast(list, ...) // → item
```
Works for both arrays and objects.