pickByCreates a new object by picking properties from the original object where the predicate function returns true. Supports both string and symbol keys.
obj (T extends object): The source object to process.predicate ((value: T[keyof T], key: keyof T) => boolean): Function that determines which properties to pick.Partial<T>): A new object with only the picked properties.