# Function Reference

IsBinaryString

Checks if a variable or expression is a BinaryString type.

IsBinaryString ( expression )

Parameters

variable | The variable or expression to check.

Return Value

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

Remarks

None.

Related

IsArray, IsFloat, IsInt, IsString

Example

$str="abc"
$bin=BinaryString($str)
$x = IsBinaryString($bin) ; true
MsgBox(0, "Test isbinaryString", $bin & " is " & $x)
$y = IsBinaryString($str) ; false
MsgBox(0, "Test isbinaryString", $str & " is " & $y)