<-- Previous || Up || Next -->

Is True Function
Comparisons Class

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

Return True if the argument vValue is "True".

    IsTrue(23) = True
    IsTrue(0) = False
    IsTrue("Hello.") = False
    IsTrue("True") = True
    IsTrue("False") = False
    IsTrue("1") = True
See also:
    IsFalse Function
    IsOn Function
vValue: Value which is checked to see if it is True. If vValue is numeric, return True if it is NON-zero. If vValue is a string, return True if it equals "on", "true", "yes", "1", or "+". Function returns False otherwise.
Note: This is the same as the IsOn function.

Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.