Whatever message this page gives is out now! Go check it out!

IsBinary

Last update:
May 18, 2026

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

ToBinaryToBase64IsNumericYesNoFormat

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>
Output
NO

NO

Share this page

Was this page helpful?
We're glad. Tell us how this page helped.
We're sorry. Can you tell us what didn't work for you?
Thank you for your feedback. Your response will help improve this page.

On this page