Higher-order function. Returns a function that checks if the argument has the same specified prop (name and value) as a comparison object.
Higher-order function. Returns a function that checks if the argument has the same specified prop (name and value) as a comparison object.