# VALUES

Chandra Bergmann

#### The function VALUES takes an object and returns a list containing all the values from the name-value pairs associated with the object.

This function takes a single object as input. It returns a single list containing all of the values from the name-value pairs associated with the given object. The order of name-value pairs in an object is not deterministic; as a result, neither is the order of the values in the resulting list. (The VALUES function is not very useful when working with a subset, but can be useful when working with all the values of an object.)

### Declaration

VALUES(object) -> list_of_values

### Parameters

object (required, type: object)
Any object.

### Return Values

list_of_values (type: list)
A list containing all the values from the name-value pairs in the input object.
Note that the order of name-value pairs in an object is not deterministic; as a result, neither is the order of the values in the resulting list.

### Examples

example_object = { "number": 1,  "string1": "hello",  "string2": "this is a string, John", "list": [1, 2, 3]}
VALUES(example_object) -> [1, "hello", "this is a string, John", [1, 2, 3]]