isDDX

Determines whether a DDX file exists and is valid, or if a string contains valid DDX instructions.

isDDX(path) → returns boolean

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

Argument Reference

path string
Required

Pathname to the DDX file or a string of DDX instructions.

Examples
Sample code invoking the isDDX function

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub