Returns result values from a component method. Contains an expression returned as result of the function.

This tag cannot have a body.

This tag is also supported within <cfscript>

Attribute Description
any, optional

An expression; the result of the function from which this tag is called.

<cfreturn #any expr#>


lucee+trycf <cfset result =testFun() > <cfdump var="#result#" /> <cffunction name="testFun" returntype="any"> <cfset str="I Love Lucee!" > <cfreturn str> </cffunction>

See also