A function that reduces an object to keys and values that match a predicate.
The predicate to match the key and value against.
The object to reduce.
A reduced object that only contains key-value pairs that match the predicate.
A function that reduces an object to keys and values that match a predicate.