count

Description

Counts the number of elements in an array. An array can be created using the toArray function.

Input / Parameter

Output

Callback

N/A

Video

Coming Soon.

Example

The user wants to count all the data in an array.

Step

  1. Call the function "count".

  2. Call the function "toArray" and define the value of array. value1 : 2 value2 : 1 value3 : 1 value4 : 1

Result

4

Last updated