isPDFFile

Verifies whether a PDF file is valid.

isPDFFile(path) → returns boolean

This function requires Adobe ColdFusion 8 and up. Not supported on Lucee, OpenBD, etc.

isPDFFile Argument Reference

path
Required

Pathname to a PDF file.

Fork me on GitHub