Test your website performance for free
Test your website performance

isBinary()

Indicates whether the Obj represents binary data.

Binaries are handled differently in that they are not rendered using the normal layout but sent as a file. Examples of binary resources are Images or PDFs.

Every Obj that has a blob attribute of the binary type is considered a Binary.

Returns

Boolean - true if this Obj represents a binary resource.