Choose where you’d like to start

addAll()

Overview

The addAll() function takes listVariableOne and listVariableTwo as arguments, and adds all elements present in listVariableTwo to listVariableOne.

Syntax

<listVariableOne>.addAll( <listVariableTwo> );
ParameterDescriptionData type
<listVariableOne>The list variable to which the elements will be added .NUMBER
<listVariableTwo>

The list variable whose elements will be added

Elements of different data-types can be accommodated in the same list if the list is not restricted to a specific data type

LIST

Examples

listOne= {"Creator"};
listTwo= {"CRM", "Projects"};
listOne.addAll(listTwo);               
// Now listOne will contain {"Creator", "CRM", "Projects"}

Get Started Now

Execute