Kotlinコレクション操作distinctBy
sortedBy

distinctByコレクション操作

take

セレクタ基準で重複除去されたリストを返します。

構文

collection.distinctBy { selector }