std
A dynamic collection of types.
Adds an item to the list at the specified index.
index
|
The index to add the item at |
item
|
The item to add |
If the index is out of bounds
Adds all items of the given list to the current list.
itemList
|
The items to add |
Checks if the given item is contained in the list.
index
|
The index of the item to remove |
If the specified item is in the list
Checks the index of the given item in the list.
item
|
The item to check the location of |
The index of the item, or -1 if it is not in the list
Joins the items of the list into a single string.
delimiter
|
The string to join the items with |
The joined string
Removes an item from the list at the given index.
index
|
The index of the item to remove |
The item that was removed
If the index is out of bounds
Sorts a list of numbers or strings in-place, in reverse order.
The sorted list