Object to evaluate
Predicate which when true means the property is included otherwise the property is excluded
Optional options: { Optional recusive?: booleanNew object with only the properties for which the predicate returned a trueish value
Return a new object that only has the properties that match the specified predicate.
Optionally the
predicatecan be specified to be recursive; if thepredicatereturns atrueish value for a property that is an object and therecursiveoption is specified the object will be filtered recursively. The recursive option defaults tofalse.