(content: string)
| 39 | |
| 40 | /** A note that only contains whitespace is treated as empty (fast path). */ |
| 41 | export function isNoteEffectivelyEmpty(content: string): boolean { |
| 42 | return content.trim().length === 0; |
| 43 | } |
| 44 | |
| 45 | /** |
| 46 | * Only markdown templates can be applied to a (markdown) note: canvas and |
no outgoing calls
no test coverage detected