values
values() function
Returns an iterator of the own enumerable string keyed property values of object.
Signature:declare function values<T extends Record<string, any>>(obj: T): Generator<T[Extract<keyof T, string>], void, unknown>;
Example
[...values({ a: 1, b: "2", c: true })]
// [1, "2", true]