I think it's worth pointing out that a lambda is not simply a shorthand for function declaration. IsAmy is a function. The other two variants are both lambdas and they differ from functions in that they capture all the locals and globals that are visible in the scope where the lambda is defined. IsAmy has no access to those.
Thanks for this, an important clarification and I appreciate you taking the time to outline it here :-)
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.