lets say I have 2 lists:
listOfCountries = List("United States", "Belgium", "Germany")
SecondlistOfCountries = List("Italy", "France", "Germany")
oneOf:
I want to check if there is at least one item that appears in both lists (the example will be "true")
Contains:
I want to check if one of the items in the SecondlistOfCountries list contains one of the items in the listOfCountries list (as a substring)
how would you do something like this in a clean Scala way?
thanks