forked from extern/bruno
10 lines
223 B
JavaScript
10 lines
223 B
JavaScript
import find from 'lodash/find';
|
|
|
|
export const isItemARequest = (item) => {
|
|
return item.hasOwnProperty('request');
|
|
};
|
|
|
|
export const itemIsOpenedInTabs = (item, tabs) => {
|
|
return find(tabs, (t) => t.uid === item.uid);
|
|
};
|