size()

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

Share this post : FacebookTwitter

Still can't find what you're looking for?

Write to us: support@zohodeluge.com