toLinkedSet
Returns a LinkedHashSet containing all elements.
Example:
(1..10).toLinkedSet() // [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]Content copied to clipboard
Since
1.1.0
Returns a LinkedHashSet containing all elements.
Example:
(1..10).toLinkedSet() // [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]1.1.0