How to detect if there is an empty content #2812
Answered
by
12joan
aron-aletiq
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
12joan
Dec 18, 2023
Replies: 1 comment 1 reply
-
You can use the /**
* Whether the editor is empty. An editor is empty if it has only one empty element.
*/ Nice Haskell shirt, by the way! λ |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
aron-aletiq
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use the
isEditorEmpty
function for this, provided that its definition of empty is what you're looking for:Nice Haskell shirt, by the way! λ