values

Overview

The values function returns the values (from key value pairs), or elements, present in a collection.

Return Type

  • LIST

Syntax

<variable>=<collectionVariable>.values();

where,

ParameterData typeDescription
<variable>LISTVariable which will hold the returned list.
<collectionVariable>COLLECTIONThe variable from which the values or elements will be returned.

Examples

 productVersion=collection("Creator":5,"CRM":2,"Mail":8);
 info productVersion.values(); // Returns 5, 2, 8
 products=collection("Creator","CRM","Mail");
 info products.values();// Returns "Creator", "CRM", "Mail"