I currently on my way to learn Kotlin and hopefully becoming a developer but I am stuck on a problem and can not figure out the answer (even after extensive google research).
It would be much appreciated if somebody could help me and explain their solution. :)
Thank you in advance!
Question:
"Write a predicate that takes the originalPredicate: (Char) -> Boolean variable and returns the negated result. Your predicate is to filter a string."
Implementation: val notPredicate: (Char) -> Boolean = TODO("Provide implementation")