I think it would be nice to add some kind of .rand...
# language-proposals
l
I think it would be nice to add some kind of .random() or .randomOrNull() extension functions to the collections in the Kotlin standard library (see https://stackoverflow.com/a/47850157/1277145 ). I found myself needing this feature 2 times already and I always had to do a custom implementation for that 🙂. Thanks in advance!
i
Let's move the discussion to #stdlib
Can you show some cases when you needed that function?