> Yup, but that still means that the lookup is being done.

But you have control over it because you can scope-qualify your struct variable:

structKeyExists(variables.foo,'bar')

CF *will* find variables (the scope) pretty quickly and then foo will
only be looked up inside that scope. You can't do the same with
isDefined() as Barney showed - if variables.foo.bar doesn't exist,
isDefined() will try to find other ways to lookup
"variables.foo.bar"...
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to