cdpjenkins
10/01/2021, 10:52 AMfun <T> doNothing(param: T): Unit = Unit or an equivalent lambda and I’m wondering if there is a standard function that I can do in order to not have to write this function myself.Joffrey
10/01/2021, 11:05 AM{ Unit }. If you need to implement a method (like an override), you can just use Unit as your implementation bodycdpjenkins
10/01/2021, 11:29 AMephemient
10/01/2021, 5:56 PM{ } should work, although explicitly stating Unit is clearer