Kotlin Lambda
always in curly braces{x: Int, y: Int -> x + y}if a lambda is the last argument in a function call, it can be placed after the parentheseslist.maxByOrNull ({ it: Person -> it.age })list.maxByOrNull () { it: Person -> it.age }if the lambda is.




