Returns TRUE if value is binary; otherwise, the function returns FALSE.
See also ToBinary, ToBase64, IsNumeric and YesNoFormat.
IsBinary(value)
Any value.
<!------------------------------------------------------------------ This example shows the use of IsBinary. It assumes that another page in a syndication program has passed this page the value of the variable data_var, which can hold either character data or binary data. This example checks to see whether data_var is binary, and if it is, it converts the binary data into Base64 data. --------------------------------------------------------------------> <HEAD> <TITLE> IsBinary Example </TITLE> </HEAD> <BODY BGCOLOR=silver> <H3>IsBinary Example</H3> <!------------------------------------------------------------------ Check to see if syndicated data is in binary form, and if it is, convert it to Base64 so that it can be viewed as printable characters. ---------------------------------------------------------------------> <CFIF IsBinary(data_var)> <CFSET Base64data = ToBase64(data_var) </CFIF> ...