isPDFFile

Verifies whether a PDF file is valid.

isPDFFile(path) → returns boolean

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

isPDFFile Argument Reference

path string
Required

Pathname to a PDF file.

Fork me on GitHub