diff --git a/libraries/stdlib/js/src/kotlin/grouping.kt b/libraries/stdlib/js/src/kotlin/grouping.kt index 71b30a9c09b..abec53072bc 100644 --- a/libraries/stdlib/js/src/kotlin/grouping.kt +++ b/libraries/stdlib/js/src/kotlin/grouping.kt @@ -7,7 +7,9 @@ package kotlin.collections /** * Groups elements from the [Grouping] source by key and counts elements in each group. * - * @return a [Map] associating the key of each group with the count of element in the group. + * @return a [Map] associating the key of each group with the count of elements in the group. + * + * @sample samples.collections.Grouping.groupingByEachCount */ @SinceKotlin("1.1") public actual fun Grouping.eachCount(): Map =