containsAnySymbol

Checks if the string contains any of the specified symbols.

Return

true if this string contains at least one of the elements from the symbols list, false otherwise.

Parameters

symbols

A list of strings to search for within this string.