values
Table of Contents
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,
| Parameter | Data type | Description |
| <variable> | LIST | Variable which will hold the returned list. |
| <collectionVariable> | COLLECTION | The 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"