<@U70GMFHEJ> is right. In fact, you can even chang...
# getting-started
j
@kristofdho is right. In fact, you can even change it to an expression function and have the compiler infer the return type:
fun collectionOf(...) = if (coll.any { ... }) ... else ...