Returns a subset of an object, whose properties match the given predicate
The object whose properties should be filtered
A predicate function which is applied to the object's properties
Returns a subset of an object, whose properties match the given predicate