import { ReduxState } from "../types/ReduxState" ; export const getIsFolderHidden = ( state , folderId ) => { const { hiddenFolderIds } = state . bookmarks ; const isFolderHidden = hiddenFolderIds . includes ( folderId ) ; return isFolderHidden ; } ;