Function Reference


IsBinary

Checks if a variable or expression is a binary type.

IsBinary ( expression )

Parameters

expression The variable or expression to check.

Return Value

Success: Returns 1.
Failure: Returns 0 if expression is not binary type.

Remarks

None.

Related

IsArray, IsFloat, IsInt, IsString, IsNumber, IsBool, IsHWnd, Binary, BinaryToString, StringToBinary, VarGetType

Example


Local $bBinary = Binary("0x00204060")
Local $sString = "0x00204060"

MsgBox(0, "IsBinary $bBinary", IsBinary($bBinary))
MsgBox(0, "IsBinary $sString", IsBinary($sString))