Returns the length of the list.
The length of the list.
Adds a value at a specific index.
The index to add the value at.
The value to add.
True if the value was added successfully.
Clears the list.
Deletes a value at a specific index.
The index to delete the value at.
The deleted value or undefined if the index is out of bounds.
Returns the node at a specific index.
The index to get the node at.
The node at the specified index or undefined if the index is out of bounds.
Removes a value from the end of the list.
The removed value or undefined if the list is empty.
Adds a value to the end of the list.
The value to push.
True if the value was added successfully.
Removes a value from the start of the list.
The removed value or undefined if the list is empty.
Adds a value to the start of the list.
The value to unshift.
True if the value was added successfully.
A doubly linked list implementation.