function isDumpDraftEmpty
isDumpDraftEmpty(draft: DumpDraft): boolean

Checks whether draft holds nothing worth restoring. A title taken from the preview doesn't count, since the preview gives it back.

Parameters

Return Type

boolean

Usage

import { isDumpDraftEmpty } from "src/utils/dump/draft.ts";