Returns the values of an object as a strongly-typed array of values.
The object whose values are to be extracted.
An array of values of the given object, typed as the values of the object.
const person = { name: "Alice", age: 30 };const values = objectValues(person); // Type: [string, number] Copy
const person = { name: "Alice", age: 30 };const values = objectValues(person); // Type: [string, number]
Returns the values of an object as a strongly-typed array of values.