isxxxx()
IsArray
IsDate
IsDBNull
IsEmpty
IsError
IsMissing
IsNothing
IsNull
IsNumeric
IsObject
IsReference
The Is functions (also known as data information functions,[5] data inspection functions,[6] or data-testing functions[6]) are a set of functions in Microsoft's Visual Basic 6, Visual Basic for Applications, VBScript, and Visual Basic .NET. Several of them are also provided in Transact-SQL by the .NET Framework Data Provider for Microsoft SQL Server.
Is
The functions are simple data validation and data type checking functions. The data validation functions determine whether it is possible to convert or coerce the data value given as an argument to the function to the type implied by the function name, and return a Boolean value recording whether it was possible or not. (Note that the actual data conversion functions, such as Oct() throw exceptions if conversion is not possible. The validation functions allow one to test whether a conversion would fail, and change the program's flow of control in an if statement.) True indicates that conversion would be possible, False indicates that it would not be. Similarly the type checking functions return a Boolean recording whether the argument expression is of a particular type.
Boolean
Oct()
True
False
In Transact-SQL, the functions return zero or one rather than Boolean values True and False.
IsArray(name)
IsDate(expression)
Date
"Sat, October 12, 2010"
IsDBNull(expression)
System.DBNull.Value
IsNull()
System.DBNull
x = DbNull
DbNull
IsDBNull()
IsEmpty(expression)
Null
IsNothing()
Nothing
IsError(expression)
System.Exception
vbError
IsMissing(name)
IsNothing(expression)
Public Shared Function IsNothing(ByVal Expression As Object) As Boolean Return (Expression Is Nothing) End Function
IS
expression
IS Nothing
IsNull(expression)
IsNull(expression1,expression2)
NULL
COALESCE()
IsNumeric(expression)
Short
Integer
Long
Single
Double
Decimal
money
smallmoney
£
$
IsObject(expression)
IsReference()
IsReference(expression)
IsObject()
Microsoft.VisualBasic