Creates a new object composed of the properties that satisfy the predicate function.
This function takes an object and a predicate function, and returns a new object that includes only the properties for which the predicate function returns true.
The object to pick properties from.
A predicate function that determines
whether a property should be picked. It takes the property's key and value as arguments and returns true
if the property should be picked, and false
otherwise.
A new object with the properties that satisfy the predicate function.
Alias