IsCustomFunction

"-->
 IsCustomFunction ("name") 

Description

Checks to see if a function can be called as a user-defined function and also displays information about the function. If the name does not exist, ColdFusion throws an error, so be sure to check for its existence first.

Example

 <cfscript>  function exampleUDF() {    return 1;  }  </cfscript>  <CFIF IsDefined("exampleUDF") AND  IsCustomFunction("exampleUDF") >    exampleUDF is a function.  </CFIF>  


Inside ColdFusion MX
Inside Coldfusion MX
ISBN: 0735713049
EAN: 2147483647
Year: 2005
Pages: 579

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net