Buy me a coffee
Kotlin
›
コレクション操作
›
distinctBy
←
sortedBy
distinctBy
コレクション操作
take
→
セレクタ基準で重複除去されたリストを返します。
構文
collection.distinctBy { selector }