Lambda expressions (also known as anonymous functions, or more colloquially, lambdas) are expressions that treat the code itself as an object. They are usually used for quick, on-the-go functions that are one line or less.
They are bad practice, though, so avoid them if you don’t need them.
#tosee [expand on lambda expressions more, don’t think i understand all of it]
Syntax
[type] lambda_expression = (arg1, arg2, arg3) -> //Operation on variables
The arguments of the lambda expression are any variables inside the brackets, and are referred to as source variables.