Kotlin컬렉션 연산distinctBy

distinctBy컬렉션 연산

셀렉터 기준으로 중복 제거된 리스트를 반환합니다.

문법

collection.distinctBy { selector }