vendredi 1 février 2019

Kotlin a member reference to return the object itself

Is there a way to write a member/method reference to return the object itself in Kotlin? That is to say, it can simplify and replace the following lambda:

{ it }





Aucun commentaire:

Enregistrer un commentaire