//#region src/components/ImportCollection/utils/workspace-store-is-empty.ts
/**
* Checks whether the store is empty.
*/
function workspaceStoreIsEmpty(store) {
	const hasSingleWorkspace = Object.keys(store.workspaces).length === 1;
	const hasSingleCollection = Object.keys(store.collections).length === 1;
	return hasSingleWorkspace && hasSingleCollection;
}
//#endregion
export { workspaceStoreIsEmpty };

//# sourceMappingURL=workspace-store-is-empty.js.map