Skip to content

@yantrix/functions v0.0.2Docs


Yantrix API / @yantrix/functions / Transformers / values

Function: values()

values(object)

ts
function values<T>(object): T[]

Creates an array of the own enumerable property values of object.

Type Parameters

T

Parameters

object: | undefined | null | Dictionary<T> | NumericDictionary<T> | List<T>

The object to query.

Returns

T[]

Returns an array of property values.

values(object)

ts
function values<T>(object): T[keyof T][]

Type Parameters

T extends object

Parameters

object: undefined | null | T

Returns

T[keyof T][]

See

_.values

values(object)

ts
function values(object): any[]

Parameters

object: any

Returns

any[]

See

_.values