Logo
Home Cart [Log In] About Us Contact Us

Object Reference

xf_GeneralGeneral Functions

Public Function mt_or_0 (
varToTest As Variant
) As Boolean

Is the variable empty (Null, or empty string), 0 or "0" ?

varToTest as Variant

A variant value

Call Template:

Dim b As Boolean
b = xf.Gen.mt_or_0(varToTest)

See Also:

Example 1:

mt_or_0(Null)   => True
mt_or_0("")     => True
mt_or_0("0")    => True
mt_or_0(0)      => True
mt_or_0(23)     => False
mt_or_0(False)  => False
Contact Us :: About Us :: Policies :: email: infspamo@arrospamw-of-tispamme.com    © 2012 Arrow Of Time Pty Ltd