Function Comparisons Class

IsFalse

Return True if the argument vValue is "False".

Signature (Visual Basic / VBA)

Public Function IsFalse( _
    ByVal vValue As Variant _
    ) As Boolean

Code Example

    IsFalse(23) = False
    IsFalse(0) = True
    IsFalse("Hello.") = True
    IsFalse("True") = False
    IsFalse("False") = True
    IsFalse("1") = False

Parameters

Parameter Description
vValue Value which is checked to see if it is False. If vValue is numeric, return True if it equals 0 (zero). If vValue is a string, return True if it does NOT equal "on", "true", "yes", "1", or "+". Function returns False otherwise.

Notes & Version History

Note This is the opposite of the IsOn function.