Returns an array of values in which the specified fieldName value matches the specified searchTerm in the specified collection.
fieldName
searchTerm
collection
Type of item in the specified collection.
Values to search.
Search term to match.
Field name in the collection to search.
Array of matching entries in the specified collection.
Returns an array of values in which the specified
fieldName
value matches the specifiedsearchTerm
in the specifiedcollection
.