fixed booktests
This commit is contained in:
1 parent
dc9885c218
commit
28d3f8364c
11 files changed
+86
-100
No files matched your search
+3
-3
@@ -108,8 +108,8 @@ You can also use flow variations that return a cold `Flow` instead of a `List`,
|
||||
Find the minimum or maximum value of a function applied to each element:
|
||||
|
||||
val source = ["abc", "de", "fghi"]
|
||||
assertEquals(2, source.minOf { it.length })
|
||||
assertEquals(4, source.maxOf { it.length })
|
||||
assertEquals(2, source.minOf { (it as String).length })
|
||||
assertEquals(4, source.maxOf { (it as String).length })
|
||||
>>> void
|
||||
|
||||
## flatten and flatMap
|
||||
@@ -218,4 +218,4 @@ For high-performance Kotlin-side interop and custom iterable implementation deta
|
||||
|
||||
[Set]: Set.md
|
||||
|
||||
[RingBuffer]: RingBuffer.md
|
||||
[RingBuffer]: RingBuffer.md
|
||||
Reference in new issue
Block a user