Description
Determines whether a value is stored as binary data.
Returns
True, if the value is binary; False, otherwise.
Category
Function syntax
IsBinary(object)
See also
ToBinary, ToBase64, IsNumeric, YesNoFormat
Parameters
Parameter |
Description |
---|---|
object |
Number or string |
History
ColdFusion (2018 release): Introduced named parameters.
Example
<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>