# IsBinary()

Determines whether a value is stored as binary data.

```
IsBinary( value=any );
```

**Returns:** boolean

# Arguments

| Argument | Type | Required | Description | Default |
|----------|------|----------|-------------|---------|
| value | any | Yes | Number or string |  |

# Examples

```cfml
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."))));
```







# Categories

[Decision logic](../../categories/decision.md), [Binary data](../../categories/binary.md)