containsAny
Extension function for the String class that checks if the string contains any of the substrings from a given list.
Return
true
if the string contains any of the substrings, otherwise false
.
Parameters
substrings
The list of substrings to check for.