size()
Table of Contents
Overview
The size() function takes a listVariable as argument, and returns the count of elements in that list.
Return Type
- Number
Syntax
<variable> = <listVariable>.size();
Parameter | Description | Data type |
---|---|---|
<variable> | Variable which will contain the returned value. | NUMBER |
<listVariable> | The list variable whose count of elements will be returned. | LIST |
Examples
listVar = {"Projects", "Mail", {"Zoho Creator", "Zoho CRM"}};
countElements = listVar.size(); //returns 3
countElements = listVar.size(); //returns 3