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 true
ish value
Return a new object that only has the properties that match the specified predicate.
Optionally the
predicate
can be specified to be recursive; if thepredicate
returns atrue
ish value for a property that is an object and therecursive
option is specified the object will be filtered recursively. The recursive option defaults tofalse
.