|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 11 days ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
277 bytes
|
| Line | |
|---|
| 1 | import find from './find.js';
|
|---|
| 2 | import matcher from './matcher.js';
|
|---|
| 3 |
|
|---|
| 4 | // Convenience version of a common use case of `_.find`: getting the first
|
|---|
| 5 | // object containing specific `key:value` pairs.
|
|---|
| 6 | export default function findWhere(obj, attrs) {
|
|---|
| 7 | return find(obj, matcher(attrs));
|
|---|
| 8 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.