IsBinary
From AutoIt Wiki
Checks if a variable or expression is a binary type. Adapted from AutoIt docs.
Contents |
Syntax
$chk = IsBinary(expr)
Parameters
| expr | The expression to check. |
Return Value
Success: Returns 1.
Failure: Returns 0 if expression is not binary type.
Example
$bin = Binary("0x00204060")
$str = "0x00204060"
msgbox(0, "IsBinary $bin", IsBinary($bin))
msgbox(0, "IsBinary $str", IsBinary($str))