bruno/renderer/utils/collections/index.js

6 lines
165 B
JavaScript
Raw Normal View History

import find from 'lodash/find';
export const findCollectionByUid = (collections, collectionUid) => {
return find(collections, (c) => c.uid === collectionUid);
};