import { DragItem } from "../DragItem" ; export const isHidden = ( isPreview , draggedItem , itemType , id ) : boolean => { return Boolean ( ! isPreview && draggedItem && draggedItem . type === itemType && draggedItem . id === id ) ; } ;