IsEmpty Function

Tests if a Variant variable contains the Empty value. The Empty value indicates that the variable is not initialized.

தொடரமைப்பு:

IsEmpty (Var)

Return value:

Bool

அளவுருக்கள்:

Var: Any variable that you want to test. If the Variant contains the Empty value, the function returns True, otherwise the function returns False.

பிழையான குறியீடுகள்:

5 செல்லாத செயல்முறை அழைப்பு

எடுத்துக்காட்டு:

Sub ExampleIsEmpty

Dim sVar As Variant

    sVar = Empty

    Print IsEmpty(sVar) ' Returns True

End Sub