Skip to content

Instantly share code, notes, and snippets.

@avchugaev
Last active November 13, 2018 17:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save avchugaev/10d2f865032ef67858c58e8f578db31d to your computer and use it in GitHub Desktop.
Save avchugaev/10d2f865032ef67858c58e8f578db31d to your computer and use it in GitHub Desktop.
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