Creates a list variable
Aliases:
std::vector<type> myList = {values};
List<Type> myList = new List<Type>();
List<Type> myList = [items];
var variableName = []variableType{ value1, value2}
let myList = [items]
List<Type> myList = new ArrayList<>();myList.add(value);
let myList = ['item1', 'item2'];
var myList = listOf('item1', 'item2')
my @myArray = (items);
myArray = [items];
myArray = @(items)
myList = [1, 2, 3]
my_array <- c(items)
my_array = [ 'item1', 'item2', # Add more items here]
let myList = [ 'item1', 'item2', // Add more items here];
val myList = List(items)
# Create an array (list):myList=( item1 item2 item3 )
var myArray = ['item1', 'item2', 'item3'];
let myList: type[] = ['item1', 'item2'];
let myList: type[] = [ 'item1', 'item2', // Add more items here];