Last active
November 13, 2018 17:51
-
-
Save avchugaev/10d2f865032ef67858c58e8f578db31d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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