-
Notifications
You must be signed in to change notification settings - Fork 354
Open
Description
The description should be updated to reflect the fact that if used on a scope, such as arguments, the function returns false even though the key is present (as seen using writeDump), with value undefined.
Tested on every Adobe ColdFusion version on trycf.com
Short example
<cfscript>
function testFunction(whatever) {
writeDump(var=arguments, label='arguments');
if(structKeyExists(arguments, 'whatever')) {
return 'found';
} else {
return 'not found';
}
}
</cfscript>
<cfoutput>
#testFunction()#
</cfoutput>