Choose where you’d like to start

size()

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();
ParameterDescriptionData 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

Get Started Now

Execute