import isEqual from 'lodash.isequal' ; export const DROPDOWN_MENU_ITEM_HEIGHT = 52 ; param selectedOptions param item export function getIsInSelectedOptions < T > ( selectedOptions , item ) { return selectedOptions . some ( ( selectedOption ) => isEqual ( selectedOption , item ) ) ; }