mirror of
https://github.com/t8y2/dbx.git
synced 2026-10-30 16:21:39 +00:00
8 lines
251 B
TypeScript
8 lines
251 B
TypeScript
export function shouldDeleteHistoryEntry(confirmDelete: () => boolean): boolean {
|
|
return confirmDelete();
|
|
}
|
|
|
|
export function shouldClearHistory(entryCount: number, confirmClear: () => boolean): boolean {
|
|
return entryCount > 0 && confirmClear();
|
|
}
|