IsBinary()
Determines whether a value is stored as binary data.
IsBinary( value=any );
Returns: Boolean
Examples
writeDump(label:"Boolean value", var:isBinary(true));
writeDump(label:"Numeric value", var:isBinary(1010));
writeDump(label:"String value", var:isBinary("binary"));
writeDump(label:"Array value", var:isBinary(arrayNew(1)));
writeDump(label:"Binary value", var:isBinary(ToBinary(toBase64("I am a string."))));
See also
- Decision logic
- Binary data
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)