ObjectvaluesOfvaluesOf CallablevaluesOf<T>(obj: T): ValuesOf<T>Returns an array of values of the enumerable properties of an object. ExamplevaluesOf({foo: "bar"})// => ["bar"]valuesOf({})// => [] AlternativesECMAScript Object.valuesLodash - valuesType parametersT: object | ArrayLike<unknown>Parametersobj: TThe object to get the values from.Returns ValuesOf<T>The values as an array.
Returns an array of values of the enumerable properties of an object.
Example
Alternatives