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.
A predicate function that determines
whether a property should be picked. It takes the property's value and key as arguments and returns true
if the property should be picked, and false otherwise.
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.