@foxkit/list
Version:
Doubly-linked List class
27 lines (20 loc) • 734 B
Markdown
The constructor takes any iterable (such as Arrays or Sets) and creates a List. You can also not pass anything and add things later:
```js
const list = new List(["lorem", "ipsum", "dolor"]);
```
```js
const list = new List();
list.push("lorem");
```
- [Array vs List](array-vs-list.md)
- [Usage with TypeScript](typescript.md)
- [Static Methods](static-methods.md)
- [List Properties](properties.md)
- List Methods
- [Adding and Removing from Lists](methods/adding-removing.md)
- [Working with other Data objects](methods/with-other-objects.md)
- [Searching and Filtering](methods/searching-filtering.md)
- [Transforming Lists](methods/transforming-lists.md)