IsEmpty()

Top  Previous  Next

IsEmpty() - Checks for Empty or Uninitialized Variables

Description

The IsEmpty() function checks whether the supplied variable has been initialized or set to empty and returns either true or false.

Boolean = IsEmpty(Expression)

Result True or False

See also IsNull which checks for valid data.

Example

If IsEmpty(myString) Then

   SMEvent.Raise "Trace", "The value is Empty"

End If