objectValues

Description

Creates an array/list of the attribute/property values of an object.

Input / Parameter

NameDescriptionInput TypeDefaultOptionsRequired

object

The object to get the attribute/property values.

Object

-

-

Yes

Output

DescriptionOutput Type

Returns the array/list of the attribute/property values.

Array/List

Callback

N/A

Video

Example

Given the above object, objectValues function will return this list:

["John", "john@example.com", "23", "123456"]
  • See also objectKeys and objectAttr

Last updated