Hiyve Components - v1.0.0
Preparing search index...
@hiyve/react-notes
isContentEmpty
Function isContentEmpty
isContentEmpty
(
content
:
|
{
content
?:
{
content
?:
{
text
?:
string
}
[]
;
text
?:
string
;
type
?:
string
;
}
[]
;
type
?:
string
;
}
|
null
|
undefined
,
)
:
boolean
Check if content is empty or contains only whitespace.
Parameters
content
:
|
{
content
?:
{
content
?:
{
text
?:
string
}
[]
;
text
?:
string
;
type
?:
string
;
}
[]
;
type
?:
string
;
}
|
null
|
undefined
TipTap JSON content
Returns
boolean
True if content is empty
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
Hiyve Components - v1.0.0
Loading...
Check if content is empty or contains only whitespace.