Members
(static, readonly) size :number
Get the size of the elements list.
Type:
- number
- Source:
Methods
(static) add(item) → {number}
Add an element of the list.
Parameters:
Name | Type | Description |
---|---|---|
item |
* | The item to add. |
- Source:
Returns:
The size of the elements list.
- Type
- number
(static) get(index) → {*}
Get an element of the list.
Parameters:
Name | Type | Description |
---|---|---|
index |
number | The element index to search for. |
- Source:
Returns:
Returns an element.
- Type
- *
(static) remove(item)
Remove an element of the list.
Parameters:
Name | Type | Description |
---|---|---|
item |
* | The item to remove. |
- Source:
(static) toArray() → {Array}
Returns the elements list array.
- Source:
Returns:
Returns the elements list.
- Type
- Array