Skip to content

cotrTypesList

The C++ list type.

Aliases:

  • cotrTypesList
  • listType
  • typeList
  • typeArray
  • list
  • array

cpp

std::vector<type>

csharp

List<type>

dart

List<type>

go

[]type

haskell

[a]

java

List<type>

javascript

[]

javascriptreact

[]

kotlin

List<type>

perl

@array

php

// In PHP, indexed arrays are used as lists.

powershell

Terminal window
[array]

python

list

r

list

ruby

Array

rust

Vec<Type>

scala

List[type]

shellscript

Terminal window
# Bash uses arrays for lists:
myList=(item1 item2 item3)

swift

Array<Type>

typescript

Array<Type>

typescriptreact

Array<Type>