Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
import {List, LinkedList} from '@monument/core';
const fruits: List<string> = new LinkedList();
fruits.add('lime'); // true
fruits.addAll(['apple', 'orange', 'banana']); // true
fruits.remove('apple'); // true
fruits.removeAll(['lime', 'orange']); // true
fruits.clear(); // true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment