values
Retrieves the values of an object's own properties, supporting both string and symbol keys. Includes an optional predicate to filter values based on the key and property descriptor.
obj
(T extends object
): The object whose values are to be retrieved.predicate
((key?: string | symbol, descriptor?: PropertyDescriptor) => boolean
): Optional function to filter properties.T[keyof T][]
): An array of the object's own property values, filtered by the predicate.