CollectionUtils

Functions

Link copied to clipboard
fun containsAllIgnoreCase(searchCollection: Collection<String>, searchTerms: Collection<String>): Boolean

Convenience method for when you need to check an entire collection for membership in another collection.

Link copied to clipboard

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

Link copied to clipboard

From a collection of strings, return an entry which matches the search term ignoring case