What does it change between these two calls? I tried and they have the same behaviour
unsortedInputValues.joinToString(","){it}
unsortedInputValues.joinToString(",")
CodePudding user response:
That's a "trailing lambda"
What does it change between these two calls? I tried and they have the same behaviour
unsortedInputValues.joinToString(","){it}
unsortedInputValues.joinToString(",")
CodePudding user response:
That's a "trailing lambda"