Home / lang / isbyte 
IsByte
Syntax
Boolean = IsByte ( vExpression ) AS Boolean
Boolean = Byte? ( vExpression ) AS Boolean

Returns TRUE if the vExpression is a Byte.

Examples

PRINT IsByte(1), IsByte(12 + 2), IsByte(12 + CByte("2"))
<hr>False   False   False

PRINT IsByte(CByte(1)), IsByte(CByte("12") + 2)
<hr>True    True

See also

Datatype Functions