containsIgnoreCase

Pass in a collection and search term to determine whether any of the values match ignoring case

Return

whether the value matches anything in the collection

Parameters

collection

the collection of values

search

the value to look for