Checks if a value is empty. A value is considered empty if it is:
null
undefined
length
The value to check for emptiness.
true if the value is empty, otherwise false.
true
false
Checks if a value is empty. A value is considered empty if it is:
null
orundefined
length
property that is 0