Possible to modify function variables inside of lambda function?

Options
Is it possible to modify a function-stack variable from inside of a lambda function?

i've tried everything I can think of. 

I want to do something like this:
Create Variable: as foo
Lambda function {
$var.foo = "testing";
}

Response: return var:foo[Screen Shot 2022-04-21 at 12.52.19 AM.png]
the value persists inside of the lambda function, but disappears outside of it. 

Comments

  • Sean Montgomery
    Sean Montgomery Administrator

    ADMIN

    Options
    At the moment you can only return a value from a lambda. The variables that are accessible are read only. Good idea though. You can make requests like this on our roadmap board and if it get votes it helps us prioritize updates.
  • mauromequelussi
    Options

    @Sean Montgomery Is it currently possible to update the value of a variable through a lambda function?

    Furthermore, is it possible to call a custom function through lambda?