Is there a more idiomatic way of writing ```if (n...
# getting-started
c
Is there a more idiomatic way of writing
Copy code
if (name.contains("one", true) || name.contains("two", true) || name.contains("three", true)) {
Ideally I could do something like:
Copy code
val blocklist = listOf("one", "two", "three")

if (name.containsAny(blockList, ignoreCase = true){
//stuff
}