`first(predicate)` or `takeWhile { }`. Strings hav...
# random
a
first(predicate)
or
takeWhile { }
. Strings have things like
isEmpty()
and
padLeft()/padRight()
a
I've got a set of slides for the Collections API that you are more than free to 'borrow': https://speakerdeck.com/andybowes/introduction-to-kotlin-collection-api
❤️ 1
a
Cool! I will check these out and if I use anything I will be sure to credit these. 🙂
a
Can't believe that I put these together nearly 2 years ago !!
a
eeeeeks! Nice, glad it is a helpful SO Q&A. It was 2 years ago? time flies!
a
@apatrida It's v scary. Finally managed to find a job that will allow me to be paid to write server-side Kotlin so it's starting to pay off 🙂