Add samples for coerceAtMost

#KT-20357
This commit is contained in:
shiraji
2018-01-10 11:22:39 +09:00
committed by Ilya Gorbunov
parent db607e231c
commit 4559da9848
5 changed files with 27 additions and 0 deletions
@@ -58,6 +58,7 @@ object ComparableOps : TemplateGroupBase() {
Ensures that this value is not greater than the specified [maximumValue].
@return this value if it's less than or equal to the [maximumValue] or the [maximumValue] otherwise.
@sample samples.comparisons.ComparableOps.coerceAtMost
"""
}
body {