<@U0H8K7DEV> the feature i asked for yesterday is ...
# announcements
k
@Ian the feature i asked for yesterday is being developed in Kotlin 1.1, and called `takeIf`:
Copy code
input.indexOf(keyword).takeIf { it >= 0 } ?: error("keyword not found")
just found it today in Kotlin blog 🙂