This function returns whether any object in an array has a specified property value which matches an optional condition, or, if omitted, has a truthy value
Parameters
values: any[]
Array of objects to be filtered
path: string
Name of property or nested path to evaluate each object
This function returns whether any object in an array has a specified property value which matches an optional condition, or, if omitted, has a truthy value