Determines whether a value is stored as binary data.
True, if the value is binary; False, otherwise.
IsBinary(object)
ToBinary, ToBase64, IsNumeric, YesNoFormat
Parameter |
Description |
|---|---|
object |
Number or string |
<cfscript>
num1 = 12;
num2 = 23;
result = IIf( num1 < num2, DE("true"), DE("false"))
result1 = IsBinary(num1) & "<br>";
writeoutput(result1);
result2 = IsBinary(result) & "<br>";
writeoutput(result2);
</cfscript>
Output
NO
NO
Sign in to your account