Returns a value indicating whether the string being tested is null, undefined, an empty string, or contains only spaces.
null
undefined
The string to test.
true if value is null, undefined, is an empty string, or consists only of whitespaces.
true
Returns a value indicating whether the string being tested is
null
,undefined
, an empty string, or contains only spaces.